litellm-mirror/litellm/llms/openai/chat
Krish Dholakia 03eef5a2a0
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 34s
Fix custom pricing - separate provider info from model info (#7990)
* fix(utils.py): initial commit fixing custom cost tracking

refactors out provider specific model info from `get_model_info` - this was causing custom costs to be registered incorrectly

* fix(utils.py): cleanup `_supports_factory` to check provider info, if model info is None

some providers support features like vision across all models

* fix(utils.py): refactor to use _supports_factory

* test: update testing

* fix: fix linting errors

* test: fix testing
2025-01-25 21:49:28 -08:00
..
gpt_audio_transformation.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
gpt_transformation.py Fix custom pricing - separate provider info from model info (#7990) 2025-01-25 21:49:28 -08:00
o1_handler.py Litellm merge pr (#7161) 2024-12-10 22:49:26 -08:00
o1_transformation.py Litellm dev 12 25 2025 p2 (#7420) 2024-12-25 18:35:34 -08:00