mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-03 12:24:08 +00:00
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)'.
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.