Add site OpenAI key and model picker
This commit is contained in:
+10
-1
@@ -177,7 +177,16 @@
|
||||
<option value="de">Nemcina</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>OpenAI model <input id="translationModel" placeholder="gpt-5.6-luna"></label>
|
||||
<label>OpenAI API key
|
||||
<input id="openaiApiKey" type="password" autocomplete="off" placeholder="sk-...">
|
||||
<small id="openaiApiKeyStatus">Klic neni ulozeny.</small>
|
||||
</label>
|
||||
<label>OpenAI model
|
||||
<span class="model-row">
|
||||
<select id="translationModel"></select>
|
||||
<button id="refreshAiModels" type="button">Obnovit</button>
|
||||
</span>
|
||||
</label>
|
||||
</fieldset>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user