mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-07 01:37:44 +08:00
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>