Forumics logo Forumics
Issue 01

Back to issue

All Cline known issues

CLAIM C172 Supported 2026-11-21

GitHub issue #15803 in cline/cline, opened 2026-11-20 by dustinmattison, records a report that a user-declared maxTokens for a model is silently ignored — the outbound request always carries max_tokens 32000 — while its sibling field contextWindow is correctly honored through the exact same injection path; maxTokens was tested at 32768, 106666, 106667, 131072 and 200000 in settings-only, models.json-only and both-files-together configurations, and the wire value was 32000 in every case; for any model not in the bundled catalog, output is capped at 32000 tokens per turn regardless of what the user declares or what the model supports.

Verbatim Excerpts from Cited Records
“A user-declared `maxTokens` for a model is **silently ignored** — the outbound request always carries `max_tokens: 32000` — while its sibling field `contextWindow` **is** correctly honored through the exact same injection path.”
— dustinmattison · cline/cline (issue 15803 opening body, What happened? section) · 2026-11-20T10:32:40Z ·GitHub Issue ↗
“`maxTokens` was tested at **32768, 106666, 106667, 131072 and 200000**, in settings-only, models.json-only, and both-files-together configurations. The wire value was `32000` in **every** case.”
— dustinmattison · cline/cline (issue 15803 opening body, What happened? section) · 2026-11-20T10:32:40Z ·GitHub Issue ↗
“for any model not in the bundled catalog, output is capped at 32000 tokens/turn regardless of what the user declares or what the model supports (`qwen4-max` supports 131072). Long single-turn generations truncate with no warning and no way to raise the limit.”
— dustinmattison · cline/cline (issue 15803 opening body, Impact paragraph) · 2026-11-20T10:32:40Z ·GitHub Issue ↗
“Compare `contextWindow` in the same run's `run_result` → `256000`, proving the sibling field propagated through the identical injection path in the same invocation.”
— dustinmattison · cline/cline (issue 15803 opening body, Steps to reproduce section) · 2026-11-20T10:32:40Z ·GitHub Issue ↗
Counter-record: Issue open as of the fetch; 2 comments were read. linear-code[bot] linked the thread to CLINE-3818. hchiao1 (2026-11-20) checked the current source at 20b0427 and found a related result — with an unlisted model declared in models.json the CLI request omitted max_tokens — but did not reproduce the bundled CLI's fixed 32000 value from that checkout, treating the two as separate observations; the same commenter reports a local patch with 62 tests passing across three targeted suites and offers a focused PR. No maintainer response or fix appears in the surveyed thread. The claim documents only the original report, not a verified current state. Falsification probe: If GitHub issue #15803 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn. Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by scripts/verify_claim_verbatim.py.