litellm-mirror/tests/litellm
Krish Dholakia f6535ae6ad
Support format param for specifying image type (#9019)
* fix(transformation.py): support a 'format' parameter for image's

allow user to specify mime type

* fix: pass mimetype via 'format' param

* feat(gemini/chat/transformation.py): support 'format' param for gemini

* fix(factory.py): support 'format' param on sync bedrock converse calls

* feat(bedrock/converse_transformation.py): support 'format' param for bedrock async calls

* refactor(factory.py): move to supporting 'format' param in base helper

ensures consistency in param support

* feat(gpt_transformation.py): filter out 'format' param

don't send invalid param to openai

* fix(gpt_transformation.py): fix translation

* fix: fix translation error
2025-03-05 19:52:53 -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 Fix deepseek 'reasoning_content' error (#8963) 2025-03-03 14:34:10 -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