mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-11 01:05:19 +00:00
24d6ec67c7
* fix utils.py * ValidUserMessageContentTypesLiteral * add _transform_tool_choice * _transform_responses_api_content_to_chat_completion_content * TestContentTypeTransformation * test_map_tool_choice_string_auto * fix validate_chat_completion_user_messages * fix _is_input_item_tool_call_output * fix LiteLLMCompletionResponsesConfig
Testing for litellm/
This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/ - 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.pymaps tolitellm/proxy/caching_routes.pytest_<filename>.pymaps tolitellm/<filename>.py