mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-23 15:36:15 +00:00
cb843684b8
Gemini 3 models require 'includeThoughts: True' in the thinkingConfig to return the actual thought text. Previously, using reasoning_effort set the 'thinkingLevel' but missed the boolean flag, resulting in empty reasoning_content. This fix: 1. Updates `_map_reasoning_effort_to_thinking_level` to include `includeThoughts: True` for low/medium/high. 2. Adds unit tests to verify the config mapping.
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.