litellm/tests/test_litellm
Krish Dholakia 1995c7aad5
fix(utils.py): support non default params for audio transcription (#11212)
* fix(utils.py): support non default params for audio transcription

allows passing provider specific params straight through on transcription calls

* fix(gpt_transformation.py): fix o_series model routing

call _transform_request on async event

* refactor: refactor tests

* test(test_azure_chat_o_series_transformation.py): add unit test for azure o series error

* test: update test

* test: update json

* fix: fix mutiple keyword error
2025-05-28 22:24:02 -07:00
..
caching Helicone base url support + fix for embedding cache hits on str input (#11211) 2025-05-28 22:02:55 -07:00
enterprise/enterprise_callbacks/send_emails
experimental_mcp_client
integrations [Fix] Prometheus Metrics - Do not track end_user by default + expose flag to enable tracking end_user on prometheus (#11192) 2025-05-27 17:06:58 -07:00
litellm_core_utils Add sentry sample rate (#10283) 2025-05-28 16:44:10 -07:00
llms fix(utils.py): support non default params for audio transcription (#11212) 2025-05-28 22:24:02 -07:00
proxy test: fix test_key_generation_with_object_permission 2025-05-28 21:24:35 -07:00
responses
router_strategy
router_utils/pre_call_checks
secret_managers fix(utils.py): support non default params for audio transcription (#11212) 2025-05-28 22:24:02 -07:00
types fix(utils.py): support non default params for audio transcription (#11212) 2025-05-28 22:24:02 -07:00
__init__.py
conftest.py
log.txt
readme.md
test_constants.py
test_cost_calculator.py
test_logging.py
test_main.py
test_router.py
test_utils.py Ollama Chat - parse tool calls on streaming (#11171) 2025-05-27 16:14:49 -07:00

Testing for litellm/

This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.

The point of this is to:

  1. Increase test coverage of litellm/
  2. Make it easy for contributors to add tests for the litellm/ package and easily run tests without needing LLM API keys.

File name conventions

  • litellm/proxy/test_caching_routes.py maps to litellm/proxy/caching_routes.py
  • test_<filename>.py maps to litellm/<filename>.py