litellm/tests/litellm
Ishaan Jaff e2d612efd9
Bug fix - String data: stripped from entire content in streamed Gemini responses (#9070)
* _strip_sse_data_from_chunk

* use _strip_sse_data_from_chunk

* use _strip_sse_data_from_chunk

* use _strip_sse_data_from_chunk

* _strip_sse_data_from_chunk

* test_strip_sse_data_from_chunk

* _strip_sse_data_from_chunk

* testing

* _strip_sse_data_from_chunk
2025-03-07 21:06:39 -08:00
..
caching fix(proxy_server.py): fix setting router redis cache, if cache enable… (#8859) 2025-03-02 08:39:06 -08:00
litellm_core_utils Bug fix - String data: stripped from entire content in streamed Gemini responses (#9070) 2025-03-07 21:06:39 -08:00
llms (UI + Backend) Fix Adding Azure, Azure AI Studio models on LiteLLM (#8856) 2025-02-26 18:45:02 -08:00
proxy Revert "(UI) - Security Improvement, move to JWT Auth for Admin UI Sessions (#8995)" 2025-03-05 08:49:20 -08:00
rerank_api build: merge squashed commit 2025-02-26 09:39:27 -08: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_main.py Support format param for specifying image type (#9019) 2025-03-05 19:52:53 -08: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