Skip to content

Commit 3185233

Browse files
author
Davidson Gomes
committed
fix(workflow_agent): increase recursion limit for state streaming
1 parent 48597bd commit 3185233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/workflow_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ async def _run_async_impl(
797797

798798
sent_events = 0 # Count of events already sent
799799

800-
async for state in graph.astream(initial_state, {"recursion_limit": 20}):
800+
async for state in graph.astream(initial_state, {"recursion_limit": 100}):
801801
# The state can be a dict with the node name as a key
802802
for node_state in state.values():
803803
content = node_state.get("content", [])

0 commit comments

Comments
 (0)