Some tool function should be wait when using astream_event
#24110
Replies: 1 comment 2 replies
-
Yes, you can use a condition to ensure that
In this example, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Description
I have used
astream_event
to completed my agent.If I have
tools = [t1, t2, t3]
, and the agent flow liket3->t1->t2
.The
t2
should be waiting fort1
completed, or thet2
will not execute correctly.Could I use some condition to identity when should wait?
Beta Was this translation helpful? Give feedback.
All reactions