Update teams.ipynb : In the sample code the termination condition is set to the text "APPROVE" but the documentation mentions "TERMINATE" (#5426)

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
abhijeethaval 2025-02-08 02:11:01 +05:30 committed by GitHub
parent abdc0da4f1
commit 707c3cf655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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."
]