mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
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
|
||
|---|---|---|
| .. | ||
| chat | ||
| messages | ||
| __init__.py | ||
| test_deepseek_cost_calculator.py | ||