mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 16:26:07 +00:00
6fc78d4132
* fix: reasoning_effort=None returns None for Opus 4.6 Previously, _map_reasoning_effort would return adaptive thinking for Opus 4.6 even when reasoning_effort was None, which breaks the expected contract where None means no thinking is sent. * fix: handle reasoning_effort="none" string for Opus 4.6 The string "none" is a valid OpenAI reasoning_effort value meaning "disable thinking". Previously it was mapped to adaptive for Opus 4.6. * Update tests/litellm/llms/anthropic/test_anthropic_reasoning_effort.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
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.