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
MockResponsesAPIStreamingIterator
Ishaan Jaffaf8e917eb00f
diff --git a/litellm/responses/streaming_iterator.py b/litellm/responses/streaming_iterator.pyindex ec0ab13a2de..3039efb9f7f 100644--- a/litellm/responses/streaming_iterator.py+++ b/litellm/responses/streaming_iterator.py@@ -210,9 +210,9 @@ class SyncResponsesAPIStreamingIterator(BaseResponsesAPIStreamingIterator):)-class AsyncMockResponsesAPIStreamingIterator(BaseResponsesAPIStreamingIterator):+class MockResponsesAPIStreamingIterator(BaseResponsesAPIStreamingIterator):"""- Async mock iterator - some models like o1-pro do not support streaming, we need to fake a stream+ mock iterator - some models like o1-pro do not support streaming, we need to fake a stream"""def __init__(