mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(responses): type completed_response as ResponsesAPIStreamingResponse to match base contract
This commit is contained in:
parent
16d8abce3b
commit
135a9190b3
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ class MCPEnhancedStreamingIterator(BaseResponsesAPIStreamingIterator):
|
|||
# Streaming state management
|
||||
self.phase = "initial_response" # initial_response -> mcp_discovery -> (continue_initial_response <-> tool_execution) -> finished
|
||||
self.finished = False
|
||||
self.completed_response: Any | None = None
|
||||
self.completed_response: ResponsesAPIStreamingResponse | None = None
|
||||
|
||||
# Event queues and generation flags
|
||||
self.mcp_discovery_events: list[ResponsesAPIStreamingResponse] = (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue