fix(workflow_agent): increase recursion limit for state streaming

This commit is contained in:
Davidson Gomes 2025-05-13 15:34:38 -03:00
parent 48597bdf30
commit 3185233233

View File

@ -797,7 +797,7 @@ class WorkflowAgent(BaseAgent):
sent_events = 0 # Count of events already sent
async for state in graph.astream(initial_state, {"recursion_limit": 20}):
async for state in graph.astream(initial_state, {"recursion_limit": 100}):
# The state can be a dict with the node name as a key
for node_state in state.values():
content = node_state.get("content", [])