Skip to content

Commit

Permalink
Update teams.ipynb : In the sample code the termination condition is …
Browse files Browse the repository at this point in the history
…set to the text "APPROVE" but the documentation mentions "TERMINATE" (#5426)



Co-authored-by: Eric Zhu <[email protected]>
  • Loading branch information
abhijeethaval and ekzhu authored Feb 7, 2025
1 parent abdc0da commit 707c3cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"source": [
"The team runs the agents until the termination condition was met.\n",
"In this case, the team ran agents following a round-robin order until the the\n",
"termination condition was met when the word \"TERMINATE\" was detected in the\n",
"termination condition was met when the word \"APPROVE\" was detected in the\n",
"agent's response.\n",
"When the team stops, it returns a {py:class}`~autogen_agentchat.base.TaskResult` object with all the messages produced by the agents in the team."
]
Expand Down

0 comments on commit 707c3cf

Please sign in to comment.