Add reasoning effort

This commit is contained in:
Kwaroran
2025-02-01 09:05:07 +09:00
parent e6f98cd6f8
commit 25aa83877b
4 changed files with 46 additions and 10 deletions

View File

@@ -311,6 +311,11 @@
<span class="text-textcolor">Repetition penalty</span>
<SliderInput min={0} max={2} marginBottom step={0.01} fixed={2} bind:value={DBState.db.repetition_penalty} disableable/>
{/if}
{#if modelInfo.parameters.includes('reasoning_effort')}
<span class="text-textcolor">Reasoning Effort</span>
<SliderInput min={0} max={2} marginBottom step={1} fixed={0} bind:value={DBState.db.reasoningEffort} disableable/>
{/if}
{#if DBState.db.aiModel === 'textgen_webui' || DBState.db.aiModel === 'mancer' || DBState.db.aiModel.startsWith('local_') || DBState.db.aiModel.startsWith('hf:::')}
<span class="text-textcolor">Repetition Penalty</span>
@@ -631,6 +636,10 @@
{@render CustomFlagButton('DeveloperRole', 14)}
{@render CustomFlagButton('geminiThinking', 15)}
{@render CustomFlagButton('geminiBlockOff', 16)}
{@render CustomFlagButton('deepSeekPrefix', 17)}
{@render CustomFlagButton('deepSeekThinkingInput', 18)}
{@render CustomFlagButton('deepSeekThinkingOutput', 19)}
{/if}
</Arcodion>