mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
* 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 |
||
---|---|---|
.. | ||
caching | ||
litellm_core_utils | ||
llms | ||
proxy | ||
rerank_api | ||
log.txt | ||
readme.md | ||
test_main.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.py
maps tolitellm/proxy/caching_routes.py
test_<filename>.py
maps tolitellm/<filename>.py