diff --git a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py index 310a85436..e5784d4f0 100644 --- a/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py +++ b/typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py @@ -543,7 +543,7 @@ async def _handle_single_event(self, event: Any, state: State) -> AsyncGenerator TextMessageContentEvent( type=EventType.TEXT_MESSAGE_CONTENT, message_id=current_stream["id"], - delta=event["data"]["chunk"].content, + delta=message_content, raw_event=event, ) )