Files
kilocode/packages
Rakshith N 56be86ef04 fix(cli): stop leaking maxOutputTokens into provider options during compaction
Compaction writes the output budget into agent.options.maxOutputTokens.
LLMRequestPrep.prepare merges agent.options into providerOptions, and the
AI SDK serializes it verbatim into the request body; strict
OpenAI-compatible upstreams reject it with
'Unsupported parameter(s): maxOutputTokens'.

Strip the injection site. The cap is still enforced through two
independent paths: the constrained model passed downstream and the
llm.ts re-cap on prepared.params.maxOutputTokens.
2026-07-23 13:50:58 +05:30
..
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00
2026-07-22 09:21:25 +00:00