* fix(anthropic/chat/handler.py): Fixes https://github.com/BerriAI/litellm/issues/10328 Adopts changes from https://github.com/BerriAI/litellm/pull/10329 * fix(vertex_and_google_ai_studio.py): don't set 'include thoughts' if thinking budget = 0 VertexAI raises errors * fix(vertex_llm_base.py): new function for deciding the api base, handles 'global' api base Fixes https://github.com/BerriAI/litellm/issues/11190 * fix(vertex_ai/partner_models): fix instrumentation for custom api base check * refactor(vertex_ai/partner): refactor function to keep below 50 LOC * fix(vertex_ai/gemini): remove parallel tool calls error for >1 tool - just ignore (prevent call from failing) * fix: fix linting error |
||
|---|---|---|
| .. | ||
| caching | ||
| enterprise/enterprise_callbacks/send_emails | ||
| experimental_mcp_client | ||
| integrations | ||
| litellm_core_utils | ||
| llms | ||
| proxy | ||
| responses | ||
| router_strategy | ||
| router_utils/pre_call_checks | ||
| secret_managers | ||
| types/llms | ||
| __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 | ||
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