Files
DeepTutor/tests
0xTidalBore f83a27275d fix: return minimal reasoning_effort for Gemini 3 and 2.5 Pro (#809)
Gemini 3 models and Gemini 2.5 Pro reject reasoning_effort="none"
with a 400 INVALID_ARGUMENT error. Per Google's OpenAI-compat docs,
"none" is only valid for the 2.5 Flash family.

Return "minimal" (the lowest valid level) for Gemini 3 and 2.5 Pro,
preserving the cost-intent while avoiding the API error.

Fixes #734

Co-authored-by: 0xtidalbore <ahmed@itcloud.ca>
2026-08-12 16:51:57 +08:00
..
2026-08-02 13:07:32 +08:00
2026-08-02 13:07:32 +08:00
2026-08-07 22:28:33 +08:00
2026-07-31 00:25:48 +08:00