feat: reasoning level select (Off/Light/Moderate/High/Max)
Replace free-form reasoning_budget_tokens number input with a 5-level select in both the edit form (local_llm.py) and add-model form (local_llm.html). Values: 0 / 1024 / 4096 / 8192 / 32768 tokens. Edit form pre-selects the stored value. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -503,6 +503,17 @@
|
||||
<input type="number" name="max_rounds" value="0" min="0"
|
||||
title="Per-model tool loop cap. 0 = use the global default (orchestrator_max_rounds).">
|
||||
</div>
|
||||
<div class="field" style="flex:0 0 auto">
|
||||
<label title="Reasoning depth via OpenRouter's reasoning.budget_tokens. Off = Non-think. Light ~1k, Moderate ~4k, High ~8k, Max ~32k tokens.">Reasoning</label>
|
||||
<select name="reasoning_budget_tokens"
|
||||
title="Reasoning depth via OpenRouter's reasoning.budget_tokens. Off = Non-think. Light ~1k, Moderate ~4k, High ~8k, Max ~32k tokens.">
|
||||
<option value="0" selected>Off — Non-think</option>
|
||||
<option value="1024">Light</option>
|
||||
<option value="4096">Moderate</option>
|
||||
<option value="8192">High</option>
|
||||
<option value="32768">Max</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="field" style="flex:0 0 auto">
|
||||
<label title="Whether this model supports tool calling. If not supported, requests skip the tool loop entirely.">Tool calling</label>
|
||||
<select name="tools"
|
||||
|
||||
Reference in New Issue
Block a user