Litellm dev 01 01 2025 p2 (#7615)

* fix(utils.py): prevent double logging when passing 'fallbacks=' to .completion()

Fixes https://github.com/BerriAI/litellm/issues/7477

* fix(utils.py): fix vertex anthropic check

* fix(utils.py): ensure supported params is always set

Fixes https://github.com/BerriAI/litellm/issues/7470

* test(test_optional_params.py): add unit testing to prevent mistranslation

Fixes https://github.com/BerriAI/litellm/issues/7470

* fix: fix linting error

* test: cleanup
This commit is contained in:
Krish Dholakia 2025-01-07 21:40:33 -08:00 committed by GitHub
parent 081826a5d6
commit e8ed40a27b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 115 additions and 206 deletions

View file

@ -156,6 +156,7 @@ def test_aaparallel_function_call(model):
# test_parallel_function_call()
from litellm.types.utils import ChatCompletionMessageToolCall, Function, Message