Set LLM probability slider default to 10% in UI
Browse filesMatches the server-side default to avoid misleading users into thinking
100% is active when the backend is already throttled to 10%.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- web/index.html +3 -3
web/index.html
CHANGED
|
@@ -274,10 +274,10 @@
|
|
| 274 |
<span class="speed-label" id="speed-label">1x</span>
|
| 275 |
<span style="color:#1a3a6e;margin:0 4px">│</span>
|
| 276 |
<span style="font-size:10px;color:#666;white-space:nowrap" title="LLM call probability: controls how often agents use AI reasoning vs. routine behaviour. At 45% with Gemini free tier ≈ 10h daily runtime.">🧠</span>
|
| 277 |
-
<input type="range" id="llm-prob-slider" min="0" max="100" value="
|
| 278 |
style="width:64px;height:6px;accent-color:#4ecca3;cursor:pointer;vertical-align:middle;"
|
| 279 |
oninput="onLlmProbSlider(this.value)" title="LLM usage probability">
|
| 280 |
-
<span id="llm-prob-label" style="font-size:10px;color:#4ecca3;min-width:28px;text-align:right;">
|
| 281 |
<span style="color:#1a3a6e;margin:0 4px">│</span>
|
| 282 |
<button class="ctrl-btn" id="btn-rect-zoom" onclick="toggleRectZoom()" title="Draw a rectangle to zoom into that area (Shift+drag)">⬚</button>
|
| 283 |
<button class="ctrl-btn" onclick="zoomBy(1.3)" title="Zoom In (scroll up)">+</button>
|
|
@@ -3019,7 +3019,7 @@ async function fetchState() {
|
|
| 3019 |
// ============================================================
|
| 3020 |
let simPaused = false;
|
| 3021 |
let simSpeed = 1.0;
|
| 3022 |
-
let llmCallProbability =
|
| 3023 |
|
| 3024 |
async function togglePause() {
|
| 3025 |
try {
|
|
|
|
| 274 |
<span class="speed-label" id="speed-label">1x</span>
|
| 275 |
<span style="color:#1a3a6e;margin:0 4px">│</span>
|
| 276 |
<span style="font-size:10px;color:#666;white-space:nowrap" title="LLM call probability: controls how often agents use AI reasoning vs. routine behaviour. At 45% with Gemini free tier ≈ 10h daily runtime.">🧠</span>
|
| 277 |
+
<input type="range" id="llm-prob-slider" min="0" max="100" value="10" step="5"
|
| 278 |
style="width:64px;height:6px;accent-color:#4ecca3;cursor:pointer;vertical-align:middle;"
|
| 279 |
oninput="onLlmProbSlider(this.value)" title="LLM usage probability">
|
| 280 |
+
<span id="llm-prob-label" style="font-size:10px;color:#4ecca3;min-width:28px;text-align:right;">10%</span>
|
| 281 |
<span style="color:#1a3a6e;margin:0 4px">│</span>
|
| 282 |
<button class="ctrl-btn" id="btn-rect-zoom" onclick="toggleRectZoom()" title="Draw a rectangle to zoom into that area (Shift+drag)">⬚</button>
|
| 283 |
<button class="ctrl-btn" onclick="zoomBy(1.3)" title="Zoom In (scroll up)">+</button>
|
|
|
|
| 3019 |
// ============================================================
|
| 3020 |
let simPaused = false;
|
| 3021 |
let simSpeed = 1.0;
|
| 3022 |
+
let llmCallProbability = 0.10;
|
| 3023 |
|
| 3024 |
async function togglePause() {
|
| 3025 |
try {
|