mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-20 02:18:38 +00:00
* 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
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