Replies: 1 comment
-
|
Not through That wrapper calls You can see both sides in the repo:
So the current pattern is:
So short version: the workflow engine supports step events, but |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In WorkflowTools individual step events from the workflow won't surface as separate step events in the parent agent's stream.
It runs the entire workflow and returns the final result to the agent. The internal step-by-step events happen within the workflow but aren't propagated to the outer agent's event stream.
Is there a way to emit those?
research_workflow=Workflow(
name=Names.Workflows.RESEARCH_WORKFLOW,
user_id=user_id,
session_id=session_id,
steps=[...]
research_workflow_tool = WorkflowTools(workflow=research_workflow)
Agent(
name=Names.Agents.RESEARCH_AGENT,
user_id=user_id,
session_id=session_id,
model=model,
markdown=True,
debug_mode=False,
tools=[research_workflow_tool]
)
Beta Was this translation helpful? Give feedback.
All reactions