Skip to content

Commit 1121476

Browse files
authored
Merge branch 'main' into fix/langgraph-concurrent-requests-and-tool-name-none
2 parents d97dfbe + 009348a commit 1121476

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • integrations/langgraph/python/ag_ui_langgraph

integrations/langgraph/python/ag_ui_langgraph/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@ async def _handle_single_event(self, event: Any, state: State) -> AsyncGenerator
934934
role="tool"
935935
)
936936
)
937+
self.active_run["has_function_streaming"] = False
937938
return
938939

939940
if not self.active_run["has_function_streaming"]:
@@ -974,6 +975,7 @@ async def _handle_single_event(self, event: Any, state: State) -> AsyncGenerator
974975

975976
self.active_run["model_made_tool_call"] = False
976977
self.active_run["state_reliable"] = True
978+
self.active_run["has_function_streaming"] = False
977979

978980
def handle_reasoning_event(self, reasoning_data: LangGraphReasoning) -> Generator[str, Any, str | None]:
979981
if not reasoning_data or "type" not in reasoning_data or "text" not in reasoning_data:

0 commit comments

Comments
 (0)