mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 01:07:15 +00:00
cb66672017
Move the source of truth for which Bedrock models support native structured outputs (outputConfig.textFormat) from a hardcoded substring set (BEDROCK_NATIVE_STRUCTURED_OUTPUT_MODELS) to the cost JSON via a new "supports_native_structured_output" flag. This makes it possible to add support for new models (including Claude Sonnet 4.6, which was missing) by updating the JSON alone, with no code changes needed.
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.