mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-08 09:14:07 +00:00
03baf23ad1
* add recraft * init RecraftImageGenerationConfig * add get_complete_url + validate_environment * add image_generation_handler in llm http clas * fixes for transform * working recraft request * fixed img gen transform * fixes for llm http handler * test: TestRecraftImageGeneration * fixes for llm_http_handler * fix RecraftImageGenerationConfig * TestRecraftImageGenerationTransformation * add recraft API * docs recraft API * fix code QA * map_openai_params * fix recraft * cost tracking for recraft/recraftv3 * fix code qa check
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