Skip to content

A programming framework for agentic AI

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

abhijeethaval707c3cf6559d
diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/teams.ipynb b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/teams.ipynb
index d12a273ed..0ddaf0539 100644
--- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/teams.ipynb
+++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/teams.ipynb
@@ -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."
]