mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-11 17:05:43 +00:00
4fdbbdfe6d
Claude 3.7 Sonnet's default max_output_tokens is 64000, not 128000. The 128K output limit requires the beta header 'output-128k-2025-02-19'. This fixes the integration test failure where requests with max_tokens=128000 were being rejected by the Anthropic API. Fixes test_multiturn_tool_calls in test_anthropic_responses_api.py
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.