Replies: 3 comments 1 reply
-
Fixed the format for you: Please use
To format code blocks, and four ` to format output blocks. Thanks. |
Beta Was this translation helpful? Give feedback.
-
When you request halt you return True, otherwise return False. Based on your code it seems like you got it backward. Besides, if your workflow has deterministic steps: the agents are invoked in a deterministic order, you should not be using magentic one. Check out sequential workflows or some deterministic workflow patterns |
Beta Was this translation helpful? Give feedback.
-
@ekzhu can you please name the a pattern or provide the link. |
Beta Was this translation helpful? Give feedback.
-
I am working with Magentic One v0.4.0.dev13. I have a use case to onboard a new employee. I have created 3 agents,
Registered all the agent and when I run the flow "Fetch steps to onboard an employee agent" is fetching the isntructions scussfully but terminates after immediately. Instead I expect the flow to continue further and execute the steps (Create AD acount agent, Create SNOW account agent) fetched. I see plan is as intended but it is terminating in the middle.
Below is the code, please suggest how to stop termination and continue further.
example_onboarding_incident_weather_and_coder.py
fetch_onboarding_steps.py
onboarding_steps.txt
create_ad_account.py
Execution logs
Beta Was this translation helpful? Give feedback.
All reactions