Files
CLIProxyAPI/internal/thinking
Luis Pater 0c6681923c fix(translator): guard null Gemini generation fields and support snake_case in Claude requests
- Require numeric validation for maxOutputTokens, topP, topK, and thinkingBudget so null or invalid values no longer coerce to 0 or disable thinking while keeping temperature omitted per #4071 and #4383.
- Support snake_case Gemini SDK fields for generation_config, thinking_config, function_declarations, parameters_json_schema, and mixed thinking summary paths.
- Align stripTranslatedDefaultMaxTokens in ClaudeExecutor with the translator's Gemini generationConfig and positive maxOutputTokens alias selection.

Closes: #8112
2026-11-25 21:06:09 +08:00
..
…
…
…
…
…