9router/open-sse/translator/concerns
DOMANHDUC 7610f28f42 fix(gemini-cli): raise output floor for thinking and add validated toolConfig (#2486)
Gemini CLI requests with small max_tokens spend the whole output budget on
thoughts after reasoning_effort maps to thinkingConfig, returning blank
content or finish=length. Raise maxOutputTokens floors per thinking level/
budget (clamped to caps.maxOutput). Also emit toolConfig
functionCallingConfig.mode=VALIDATED for Gemini CLI tool requests to avoid
MALFORMED_FUNCTION_CALL.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 11:32:11 +07:00
..
chunk.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
finishReason.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
image.js fix(image): pin DNS-resolved IP to prevent SSRF via DNS rebinding (GHSA-cmhj-wh2f-9cgx) 2026-06-17 11:02:04 +07:00
json.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
message.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
modality.js Refactor 2026-06-15 18:18:04 +07:00
paramSupport.js fix(volcengine-ark): clamp Kimi max_tokens to 32768 endpoint cap 2026-07-09 15:10:05 +07:00
prefetch.js Refactor 2026-06-15 18:18:04 +07:00
reasoning.js Refactor 2026-06-15 18:18:04 +07:00
thinking.js Refactor 2026-06-15 18:18:04 +07:00
thinkingUnified.js fix(gemini-cli): raise output floor for thinking and add validated toolConfig (#2486) 2026-07-10 11:32:11 +07:00
toolCall.js refactor(open-sse): translator DRY + schema enums, bug fixes, dead code cleanup 2026-06-14 18:49:38 +07:00
usage.js feat(usage): track cached tokens + correct input/output/cache cost (#2209) 2026-07-03 15:18:27 +07:00