litellm-mirror/tests/litellm
2025-03-18 12:24:12 -07:00
..
caching test: refactor testing to handle routing correctly 2025-03-18 12:24:12 -07:00
integrations Removed prints and added unit tests 2025-02-28 21:48:13 +05:30
litellm_core_utils fix(ollama/completions/transformation.py): pass prompt, untemplated on /completions request 2025-03-17 18:35:44 -07:00
llms test: refactor testing to handle routing correctly 2025-03-18 12:24:12 -07:00
proxy Merge pull request #9328 from BerriAI/litellm_control_internal_user_settings_ui 2025-03-17 22:07:47 -07:00
rerank_api build: merge squashed commit 2025-02-26 09:39:27 -08:00
responses TestResponseAPILoggingUtils 2025-03-12 12:45:03 -07:00
log.txt Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08:00
readme.md (UI + Proxy) Cache Health Check Page - Cleanup/Improvements (#8665) 2025-02-19 19:08:50 -08:00
test_cost_calculator.py feat(cost_calculator.py): support reading litellm response cost header in client sdk 2025-03-17 15:12:01 -07:00
test_main.py Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08:00
test_model_prices_and_context_window_schema.py cleanup 2025-03-10 20:13:03 -07:00

Testing for litellm/

This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.

The point of this is to:

  1. Increase test coverage of litellm/
  2. 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.py maps to litellm/proxy/caching_routes.py
  • test_<filename>.py maps to litellm/<filename>.py