diff --git a/python/packages/autogen-agentchat/src/autogen_agentchat/conditions/_terminations.py b/python/packages/autogen-agentchat/src/autogen_agentchat/conditions/_terminations.py index bccdd179d..82ff975b6 100644 --- a/python/packages/autogen-agentchat/src/autogen_agentchat/conditions/_terminations.py +++ b/python/packages/autogen-agentchat/src/autogen_agentchat/conditions/_terminations.py @@ -502,6 +502,7 @@ class FunctionCallTermination(TerminationCondition, Component[FunctionCallTermin """ component_config_schema = FunctionCallTerminationConfig + component_provider_override = "autogen_agentchat.conditions.FunctionCallTermination" """The schema for the component configuration.""" def __init__(self, function_name: str) -> None: diff --git a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb index f02ca26fc..895303fe4 100644 --- a/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb +++ b/python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb @@ -326,6 +326,7 @@ " \"\"\"Terminate the conversation if a FunctionExecutionResult with a specific name is received.\"\"\"\n", "\n", " component_config_schema = FunctionCallTerminationConfig\n", + " component_provider_override = \"autogen_agentchat.conditions.FunctionCallTermination\"\n", " \"\"\"The schema for the component configuration.\"\"\"\n", "\n", " def __init__(self, function_name: str) -> None:\n",