litellm/tests/unit/llms/deepseek
mateo-berri 844919ff6e fix(deepseek): count only catalog-listed models as listed without reasoning
A proxy deployment registers an unlisted model into the cost map, so the old check stripped thinking, effort and temperature from it. Check the cost map as loaded instead

Adapted for lts/1.108.x: the line has no shared is_known_non_reasoning_model, so this module defines it on lookup_model_info_for_registration and the loaded catalog, and the new tests use local_model_cost_map since the line's conftest restores model_cost by reference

(cherry picked from commit b9101faae5)
2026-11-13 18:58:44 -08:00
..
chat fix(mcp): keep DeepSeek tool cleanup and the guardrail policy result on lts/1.108.x 2026-11-05 21:50:49 -08:00
messages fix(deepseek): count only catalog-listed models as listed without reasoning 2026-11-13 18:58:44 -08:00
__init__.py test(unit): make every tests/unit directory a package so pytest collection is unique 2026-09-20 11:50:59 +00:00
test_deepseek_cost_calculator.py test(llms): annotate local_model_cost_map fixtures in phase 6 tests 2026-09-20 07:50:30 +00:00