mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
- endpoint-name guard drops '.' so '..' and dot-traversal can no longer shape the invoke path; invalid-name test now covers databricks/.. too - _prepare_audio_transcription_request passes api_base into validate_environment (chat-handler convention), so an explicit api_base authenticates without DATABRICKS_API_BASE; regression test dispatches with per-call api_base and no env var - remove has_native_transcription_endpoint override: databricks is not in OPENAI_AUDIO_TRANSCRIPTION_PROVIDERS, so the base-class default is what main.py already reads; cover the non-text predictions element branch |
||
|---|---|---|
| .. | ||
| llms/databricks/audio_transcription | ||
| proxy | ||
| __init__.py | ||
| conftest.py | ||
| readme.md | ||
| test_check_unbounded_in_lists.py | ||
| test_conftest.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