Files
DeepTutor/deeptutor/services
zszz3 261d2c7ad4 fix(llm): raise the visualize budget to 32k and cap each request to the model
A thinking model can spend 16k tokens before it writes any code, so the
visualize default is now 32768. Sent unchanged that would be rejected by
models whose output stops lower (gpt-4o and gpt-4o-mini at 16384) and could
overflow a small local context window, so every request now carries
min(budget, the model's known output limit, half the configured context
window). The cap lives in get_token_limit_kwargs, so it applies to every
caller; BaseAgent and the agentic loop pass the configured window.
2026-11-27 20:21:29 +08:00
..
…
2026-11-16 02:17:36 +08:00
…
2026-11-16 02:17:36 +08:00
…