Add o1 and fix some mistakes

This commit is contained in:
Kwaroran
2024-12-18 03:26:02 +09:00
parent 25cd5af074
commit 5df9e68bae
9 changed files with 233 additions and 77 deletions

View File

@@ -271,7 +271,7 @@
{#if submenu === 1 || submenu === -1}
<span class="text-textcolor">{language.maxContextSize}</span>
<NumberInput min={0} max={getModelMaxContext(DBState.db.aiModel)} marginBottom={true} bind:value={DBState.db.maxContext}/>
<NumberInput min={0} marginBottom={true} bind:value={DBState.db.maxContext}/>
<span class="text-textcolor">{language.maxResponseSize}</span>

View File

@@ -121,7 +121,7 @@
{/if}
{#if DBState.db.translatorType === 'google'}
<span class="text-textcolor mt-4">Translator Input Language</span>
<span class="text-textcolor mt-4">{language.sourceLanguage}</span>
<SelectInput className="mt-2 mb-4" bind:value={DBState.db.translatorInputLanguage}>
<OptionInput value="auto">Auto</OptionInput>
<OptionInput value="en">English</OptionInput>