Skip to content

Commit 8f3ca03

Browse files
wuliang229copybara-github
authored andcommitted
fix: fix the instruction in workflow_triage example agent
PiperOrigin-RevId: 813305068
1 parent 7459962 commit 8f3ca03

File tree

1 file changed

+3
-3
lines changed
  • contributing/samples/workflow_triage

1 file changed

+3
-3
lines changed

contributing/samples/workflow_triage/agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ def update_execution_plan(
4040
4141
1. Analyze the user input and decide any worker agents that are relevant;
4242
2. If none of the worker agents are relevant, you should explain to user that no relevant agents are available and ask for something else;
43-
2. Update the execution plan with the relevant worker agents using `update_execution_plan` tool.
44-
3. Transfer control to the plan_execution_agent for the actual plan execution.
43+
3. Update the execution plan with the relevant worker agents using `update_execution_plan` tool.
44+
4. Transfer control to the plan_execution_agent for the actual plan execution.
4545
4646
When calling the `update_execution_plan` tool, you should pass the list of worker agents that are relevant to user's input.
4747
4848
NOTE:
4949
5050
* If you are not clear about user's intent, you should ask for clarification first;
51-
* Only after you're clear about user's intent, you can proceed to step #2.
51+
* Only after you're clear about user's intent, you can proceed to step #3.
5252
""",
5353
sub_agents=[
5454
execution_agent.plan_execution_agent,

0 commit comments

Comments
 (0)