How to gracefully stop an Agent mid-execution via message, allowing cleanup? #598
Unanswered
IlyaMichlin
asked this question in
Q&A
Replies: 1 comment
-
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.
-
Hi!
I'm using the Strands to manage an agent workflow in my backend app.
Situation:
What I want:
Question:
Is there a recommended way to influence an agent mid-execution—e.g., by sending it a stop signal/message that it will process on its next agent loop?
If so, could you show a code example of the best practice for handling this?
Beta Was this translation helpful? Give feedback.
All reactions