Add new language keys and checkboxes for openrouter fallback and middle out
This commit is contained in:
@@ -488,4 +488,6 @@ export const languageEnglish = {
|
|||||||
autoRemoveThoughtTag: "Remove Thought Tag",
|
autoRemoveThoughtTag: "Remove Thought Tag",
|
||||||
customChainOfThought: "Custom Chain of Thoughts",
|
customChainOfThought: "Custom Chain of Thoughts",
|
||||||
maxThoughtTagDepth: "Max Thought Tag Depth",
|
maxThoughtTagDepth: "Max Thought Tag Depth",
|
||||||
|
openrouterFallback: "Openrouter Fallback",
|
||||||
|
openrouterMiddleOut: "Openrouter Middle Out",
|
||||||
}
|
}
|
||||||
@@ -319,6 +319,12 @@
|
|||||||
<span class="text-textcolor">Top K</span>
|
<span class="text-textcolor">Top K</span>
|
||||||
<SliderInput min={0} max={100} step={1} bind:value={$DataBase.top_k}/>
|
<SliderInput min={0} max={100} step={1} bind:value={$DataBase.top_k}/>
|
||||||
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.top_k).toFixed(0)}</span>
|
<span class="text-textcolor2 mb-6 text-sm">{($DataBase.top_k).toFixed(0)}</span>
|
||||||
|
<div class="flex items-center mt-4">
|
||||||
|
<Check bind:check={$DataBase.openrouterFallback} name={language.openrouterFallback}/>
|
||||||
|
</div>
|
||||||
|
<div class="flex items-center mt-4">
|
||||||
|
<Check bind:check={$DataBase.openrouterMiddleOut} name={language.openrouterMiddleOut}/>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if $DataBase.aiModel === 'textgen_webui' || $DataBase.aiModel === 'mancer' || $DataBase.aiModel.startsWith('local_')}
|
{#if $DataBase.aiModel === 'textgen_webui' || $DataBase.aiModel === 'mancer' || $DataBase.aiModel.startsWith('local_')}
|
||||||
|
|||||||
Reference in New Issue
Block a user