From 1708d307c9483d37f21a897165f48969364a95e9 Mon Sep 17 00:00:00 2001 From: Hikari Date: Fri, 20 Mar 2026 10:32:49 -0700 Subject: [PATCH] feat: update max_output_tokens upper bound and helper text for 128k (#231) Adds max="128000" to the config input and updates the placeholder and helper text to reflect the new per-model limits from CLI v2.1.77. --- src/lib/components/ConfigSidebar.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/ConfigSidebar.svelte b/src/lib/components/ConfigSidebar.svelte index e7b17d2..0a26a2b 100644 --- a/src/lib/components/ConfigSidebar.svelte +++ b/src/lib/components/ConfigSidebar.svelte @@ -610,13 +610,15 @@ id="max-output-tokens" type="number" min="1" - placeholder="Default (32000)" + max="128000" + placeholder="Default (model-dependent)" bind:value={config.max_output_tokens} class="w-full px-3 py-2 text-sm bg-[var(--bg-primary)] border border-[var(--border-color)] rounded text-[var(--text-primary)] placeholder-[var(--text-tertiary)] focus:outline-none focus:border-[var(--accent-primary)]" />

- Sets CLAUDE_CODE_MAX_OUTPUT_TOKENS — increase if responses are - being cut off mid-reply + Sets CLAUDE_CODE_MAX_OUTPUT_TOKENS. Maximum: 128k tokens + for Opus 4.6 and Sonnet 4.6 (64k default for Opus 4.6, 32k for other models). Increase if + responses are being cut off.