primary backend added to standard mode.
This commit is contained in:
@@ -123,6 +123,11 @@
|
||||
<span>SECONDARY - Ollama/Qwen (3090)</span>
|
||||
<small>Fast, local, good for general chat</small>
|
||||
</label>
|
||||
<label class="radio-label">
|
||||
<input type="radio" name="backend" value="PRIMARY">
|
||||
<span>PRIMARY - llama.cpp (MI50)</span>
|
||||
<small>Local, powerful, good for complex reasoning</small>
|
||||
</label>
|
||||
<label class="radio-label">
|
||||
<input type="radio" name="backend" value="OPENAI">
|
||||
<span>OPENAI - GPT-4o-mini</span>
|
||||
@@ -131,7 +136,7 @@
|
||||
<label class="radio-label">
|
||||
<input type="radio" name="backend" value="custom">
|
||||
<span>Custom Backend</span>
|
||||
<input type="text" id="customBackend" placeholder="e.g., PRIMARY, FALLBACK" />
|
||||
<input type="text" id="customBackend" placeholder="e.g., FALLBACK" />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
@@ -543,7 +548,7 @@
|
||||
|
||||
// Set initial radio button state
|
||||
const backendRadios = document.querySelectorAll('input[name="backend"]');
|
||||
let isCustomBackend = !["SECONDARY", "OPENAI"].includes(savedBackend);
|
||||
let isCustomBackend = !["SECONDARY", "PRIMARY", "OPENAI"].includes(savedBackend);
|
||||
|
||||
if (isCustomBackend) {
|
||||
document.querySelector('input[name="backend"][value="custom"]').checked = true;
|
||||
|
||||
Reference in New Issue
Block a user