Gemini thinking tokens exhaust title generation budget
Cluster 91927 · agent. Data as of
Nothing open on GitHub. Fix merged in #106422 on 13 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #106422. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where Gemini models' default thinking token usage consumes the entire max_tokens budget, causing session title generation to fail. The associated fixes disable thinking tokens for auxiliary title generation calls to prevent this starvation.
Open issues0
Open PRs0
Fixes on record
-
#106422 Gemini session titles no longer break into ```json artifacts (#91927, salvage #91933 + #92406)
files:
agent/title_generator.py,agent/transports/chat_completions.py,tests/agent/test_gemini_thinking_config.py,tests/agent/test_title_generator.py
2 PRs closed without merging
From the close comments: merged via another change 1 · superseded by another PR 1
Closed issues · 1
- Closed#91927[Bug]: Session title generation fails with Gemini models due to default thinking tokens consuming max_tokens budget
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #106422
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 13 Sep 2026