mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-11 07:05:00 +00:00
04dc1a5351
* add gemini-2.5-flash-image-preview * add gemini-2.5-flash-image-preview * add image in ChatCompletionResponseMessage * test_gemini_image_generation_async * Revert "Merge pull request #13394 from Deviad/feature/enhance_logging_for_containers" This reverts commit539b94ad4e, reversing changes made to71af7bcf9c. * include `image` in Delta * fix _process_candidates should show the image response * fix: _handle_special_delta_attributes * test_gemini_image_generation_async_stream * image_generation_chat * UI - allow looking at generated images from /chat/completions * _create_streaming_choice * fix import StreamingChoices * fix ChatCompletionResponseMessage * test_gemini_image_generation * add gemini img migration * fix _extract_candidate_metadata * ui fix * fix batch endpoint test
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