1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-08 17:06:42 +00:00

reasoning effort control

This commit is contained in:
Laura
2025-08-10 22:32:40 +02:00
parent 92be3fdd85
commit 0f9fe50781
8 changed files with 137 additions and 24 deletions

View File

@@ -23,12 +23,12 @@
<textarea id="message" placeholder="Type something..." autocomplete="off"></textarea>
<button id="add" title="Add message"></button>
<button id="send" title="Add message and start completion"></button>
<button id="add" title="Add message to chat"></button>
<button id="send" title="Add message to chat and start completion"></button>
<div class="options">
<div class="option">
<label for="role" title="Role"></label>
<label for="role" title="Message role"></label>
<select id="role">
<option value="user" selected>User</option>
<option value="assistant">Assistant</option>
@@ -40,7 +40,7 @@
<select id="model" data-searchable></select>
</div>
<div class="option">
<label for="prompt" title="Prompt"></label>
<label for="prompt" title="Main system prompt"></label>
<select id="prompt">
<option value="" selected>No Prompt</option>
<option value="normal">Assistant</option>
@@ -50,6 +50,19 @@
<label for="temperature" title="Temperature (0 - 1)"></label>
<input id="temperature" type="number" min="0" max="1" step="0.05" value="0.85" />
</div>
<div class="option none">
<label for="reasoning-effort" title="Reasoning Effort"></label>
<select id="reasoning-effort">
<option value="low">Low</option>
<option value="medium" selected>Medium</option>
<option value="hight">High</option>
<option value="">Custom</option>
</select>
</div>
<div class="option none">
<label for="reasoning-tokens" title="Maximum amount of reasoning tokens"></label>
<input id="reasoning-tokens" type="number" min="2" max="1" step="0.05" value="0.85" />
</div>
<div class="option">
<button id="scrolling" title="Turn on auto-scrolling"></button>
</div>