Skip to content

Commit 0cf571c

Browse files
authored
fix: correctly resolve anthropic message content (#187)
1 parent 32a74f0 commit 0cf571c

File tree

1 file changed

+1
-1
lines changed
  • typescript-sdk/integrations/langgraph/python/ag_ui_langgraph

1 file changed

+1
-1
lines changed

typescript-sdk/integrations/langgraph/python/ag_ui_langgraph/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ async def _handle_single_event(self, event: Any, state: State) -> AsyncGenerator
543543
TextMessageContentEvent(
544544
type=EventType.TEXT_MESSAGE_CONTENT,
545545
message_id=current_stream["id"],
546-
delta=event["data"]["chunk"].content,
546+
delta=message_content,
547547
raw_event=event,
548548
)
549549
)

0 commit comments

Comments
 (0)