Files
litellm/tests
mateo-berri 64aefbf9df fix(translation): close the together_ai gpt-4-name parity break (verifier-wave1a F2)
v1's TogetherAIConfig.get_supported_openai_params crashes with a bare
ValueError (list.remove) for any model literally named gpt-4 or
gpt-3.5-turbo-16k without the model-map supports_function_calling flag,
and it runs inside get_optional_params on EVERY request -- so v2 serving a
plain-text request on those names was a flag-on parity break. The together
gate now falls back typed on the name+non-fc combination before any param
check, with the reason naming the v1 ValueError mechanism (this also fixes
the wrong-exception-class reason the old rf-name fallback carried for
these rows). Four differential rows assert the v1 ValueError in-process
(exact class, not an UnsupportedParamsError subclass) across the orderings
the verifier measured: plain text on both names, temperature-only, and
response_format; the report generator emits them as
'FALLBACK (v1 raises ValueError)'.
2026-06-12 10:40:11 +00:00
..

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.