Add Gemini option

This commit is contained in:
Thomas Krijnen
2026-04-03 10:49:36 +02:00
parent 5bcf8685ab
commit 5d748c5b04
5 changed files with 63 additions and 6 deletions
+6
View File
@@ -17,6 +17,7 @@
<select id="provider" style="width: 100%;">
<option value="openai">OpenAI</option>
<option value="anthropic">Anthropic (Claude)</option>
<option value="gemini">Gemini</option>
<option value="openrouter">OpenRouter</option>
</select>
</div>
@@ -31,6 +32,11 @@
<input id="apiKey" type="password" placeholder="sk-..." autocomplete="off" style="width: 100%;" />
</div>
<div class="row" id="baseUrlRow">
<label id="baseUrlLabel">Base URL<span class="small">override the API endpoint for OpenAI-compatible providers</span></label>
<input id="baseUrl" type="text" placeholder="https://api.openai.com/v1" autocomplete="off" style="width: 100%;" />
</div>
<hr />
<div class="row" style="margin-bottom: 10px;">