refactor: Update AdvancedSettings.svelte to conditionally show custom chain of thought prompt option
This commit is contained in:
@@ -110,11 +110,13 @@
|
|||||||
<Help key="experimental"/>
|
<Help key="experimental"/>
|
||||||
</Check>
|
</Check>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center mt-4">
|
{#if $DataBase.showUnrecommended}
|
||||||
<Check bind:check={$DataBase.chainOfThought} name={language.cot}>
|
<div class="flex items-center mt-4">
|
||||||
<Help key="chainOfThought"/><Help key="experimental"/>
|
<Check bind:check={$DataBase.chainOfThought} name={language.cot}>
|
||||||
</Check>
|
<Help key="customChainOfThought" unrecommended/>
|
||||||
</div>
|
</Check>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="flex items-center mt-4">
|
<div class="flex items-center mt-4">
|
||||||
<Check bind:check={$DataBase.removePunctuationHypa} name={language.removePunctuationHypa}>
|
<Check bind:check={$DataBase.removePunctuationHypa} name={language.removePunctuationHypa}>
|
||||||
<Help key="removePunctuationHypa"/>
|
<Help key="removePunctuationHypa"/>
|
||||||
@@ -132,9 +134,11 @@
|
|||||||
</Check>
|
</Check>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex items-center mt-4">
|
{#if $DataBase.showUnrecommended}
|
||||||
<Check bind:check={$DataBase.usePlainFetch} name={language.forcePlainFetch}> <Help key="forcePlainFetch" unrecommended/></Check>
|
<div class="flex items-center mt-4">
|
||||||
</div>
|
<Check bind:check={$DataBase.usePlainFetch} name={language.forcePlainFetch}> <Help key="forcePlainFetch" unrecommended/></Check>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="flex items-center mt-4">
|
<div class="flex items-center mt-4">
|
||||||
<Check check={$DataBase.tpo} name="Alpha DevMode" onChange={() => {
|
<Check check={$DataBase.tpo} name="Alpha DevMode" onChange={() => {
|
||||||
// access code is "tendo"
|
// access code is "tendo"
|
||||||
|
|||||||
Reference in New Issue
Block a user