feat(ui): optional custom API Base toggle for local OpenAI-compatible servers

This commit is contained in:
EP
2025-08-25 13:16:13 -07:00
parent 1aec35d0a3
commit 7ca5ae9033
2 changed files with 26 additions and 2 deletions
+10
View File
@@ -24,6 +24,16 @@
<input type="checkbox" id="rememberKey" /> Remember in this browser
</label>
</div>
<div class="grid-3">
<div class="field">
<label class="inline"><input type="checkbox" id="useCustomApiBase" /> Use custom API Base</label>
</div>
<div class="field" id="apiBaseField" style="display:none">
<label for="apiBase">API Base URL</label>
<input id="apiBase" value="http://127.0.0.1:1234/v1" placeholder="http://127.0.0.1:1234/v1" />
</div>
<div class="field"></div>
</div>
<div class="grid-3">
<div class="field">
<label for="model">Model</label>