mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* fix(litellm_proxy/chat/transformation.py): support 'thinking' param Fixes https://github.com/BerriAI/litellm/issues/9380 * feat(azure/gpt_transformation.py): add azure audio model support Closes https://github.com/BerriAI/litellm/issues/6305 * fix(utils.py): use provider_config in common functions * fix(utils.py): add missing provider configs to get_chat_provider_config * test: fix test * fix: fix path * feat(utils.py): make bedrock invoke nova config baseconfig compatible * fix: fix linting errors * fix(azure_ai/transformation.py): remove buggy optional param filtering for azure ai Removes incorrect check for support tool choice when calling azure ai - prevented calling models with response_format unless on litell model cost map * fix(amazon_cohere_transformation.py): fix bedrock invoke cohere transformation to inherit from coherechatconfig * test: fix azure ai tool choice mapping * fix: fix model cost map to add 'supports_tool_choice' to cohere models * fix(get_supported_openai_params.py): check if custom llm provider in llm providers * fix(get_supported_openai_params.py): fix llm provider in list check * fix: fix ruff check errors * fix: support defs when calling bedrock nova * fix(factory.py): fix test
24 lines
1.7 KiB
Text
24 lines
1.7 KiB
Text
============================= test session starts ==============================
|
|
platform darwin -- Python 3.13.1, pytest-8.3.5, pluggy-1.5.0 -- /Users/krrishdholakia/Documents/litellm/myenv/bin/python3.13
|
|
cachedir: .pytest_cache
|
|
rootdir: /Users/krrishdholakia/Documents/litellm
|
|
configfile: pyproject.toml
|
|
plugins: respx-0.22.0, postgresql-7.0.1, anyio-4.4.0, asyncio-0.26.0, mock-3.14.0, ddtrace-2.19.0rc1
|
|
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
|
|
collecting ... collected 3 items
|
|
|
|
test_supports_tool_choice.py::test_check_provider_match PASSED [ 33%]
|
|
test_supports_tool_choice.py::test_supports_tool_choice PASSED [ 66%]
|
|
test_supports_tool_choice.py::test_supports_tool_choice_simple_tests PASSED [100%]
|
|
|
|
=============================== warnings summary ===============================
|
|
../../myenv/lib/python3.13/site-packages/pydantic/_internal/_config.py:295
|
|
/Users/krrishdholakia/Documents/litellm/myenv/lib/python3.13/site-packages/pydantic/_internal/_config.py:295: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
|
|
warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
|
|
|
|
../../litellm/caching/llm_caching_handler.py:17
|
|
/Users/krrishdholakia/Documents/litellm/litellm/caching/llm_caching_handler.py:17: DeprecationWarning: There is no current event loop
|
|
event_loop = asyncio.get_event_loop()
|
|
|
|
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
|
======================== 3 passed, 2 warnings in 0.92s =========================
|