* add google generate content to call types * Revert "add google generate content to call types" This reverts commit 6f57dde293e50674c8fca0feac6e01c27d9e1c96. * add CallTypesLiteral for gemini * allow passing model to vertexpass through logging handler * update logging handler * fix checking if stream * add async streaming logging for vtx * refactor _transform_google_generate_content_to_openai_model_response * fix logging_obj * fixes _handle_non_streaming_google_genai_generate_content_response_logging * logging callback tests * ruff check fixes * test _is_streaming_request * test_ensure_initialize_azure_sdk_client_always_used * fix BaseGoogleGenAIGenerateContentStreamingIterator * fix - linting errors * req - add google-genai |
||
|---|---|---|
| .. | ||
| caching | ||
| completion_extras/litellm_responses_transformation | ||
| enterprise/enterprise_callbacks | ||
| experimental_mcp_client | ||
| integrations | ||
| litellm_core_utils | ||
| llms | ||
| passthrough | ||
| proxy | ||
| responses | ||
| router_strategy | ||
| router_utils | ||
| secret_managers | ||
| types | ||
| vector_stores | ||
| __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