The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(responses-bridge): return CustomStreamWrapper from the completed-response stream helper
mateo-berri4299c6d19105
diff --git a/litellm/completion_extras/litellm_responses_transformation/handler.py b/litellm/completion_extras/litellm_responses_transformation/handler.pyindex cf517440cd5..15f5b28e30e 100644--- a/litellm/completion_extras/litellm_responses_transformation/handler.py+++ b/litellm/completion_extras/litellm_responses_transformation/handler.py@@ -354,7 +354,7 @@ class ResponsesToCompletionBridgeHandler:custom_llm_provider: str,logging_obj: "LiteLLMLoggingObj",json_mode: bool | None,- ) -> Any:+ ) -> "CustomStreamWrapper":from litellm.litellm_core_utils.streaming_handler import CustomStreamWrapperfrom litellm.llms.base_llm.base_model_iterator import MockResponseIterator