mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
ModelResponse.choices was typed as List[Union[Choices, StreamingChoices]] which caused Pydantic serialization warnings and false linting errors. Now that ModelResponseStream exists for streaming, narrow ModelResponse.choices to List[Choices] and migrate all ModelResponse(stream=True) call sites to use ModelResponseStream() instead. |
||
|---|---|---|
| .. | ||
| a2a_protocol/providers/pydantic_ai_agents | ||
| llms | ||
| proxy | ||
| test_batch_completion_models_all_responses.py | ||
| test_bedrock_extended_beta_models.py | ||
| test_proxy_auth.py | ||
| test_router_retry_backoff_headers.py | ||
| test_stream_chunk_builder_images.py | ||