primary backend added to standard mode.

This commit is contained in:
serversdwn
2025-12-29 02:10:59 -05:00
parent 794baf2a96
commit a900110fe4
3 changed files with 42 additions and 2 deletions

View File

@@ -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;