Skip to content

Commit eaa7202

Browse files
committed
Streaming finally working
1 parent abda220 commit eaa7202

8 files changed

Lines changed: 1107 additions & 14 deletions

File tree

src/app/endpoints/streaming_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ async def response_generator( # pylint: disable=too-many-branches,too-many-stat
746746
# Store MCP call item info for later lookup when arguments.done event occurs
747747
elif event_type == "response.output_item.added":
748748
item_added_chunk = cast(OutputItemAddedChunk, chunk)
749-
749+
750750
if item_added_chunk.item.type == "mcp_call":
751751
mcp_call_item = cast(MCPCall, item_added_chunk.item)
752752
mcp_calls[item_added_chunk.output_index] = (
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Pydantic AI provider for Llama Stack."""
22

3+
from pydantic_ai_lightspeed.llamastack._model import LlamaStackResponsesModel
34
from pydantic_ai_lightspeed.llamastack._provider import LlamaStackProvider
45

5-
__all__ = ["LlamaStackProvider"]
6+
__all__ = ["LlamaStackProvider", "LlamaStackResponsesModel"]

0 commit comments

Comments
 (0)