From a80687af8d813beeccb97a52db0e272e2fba85c2 Mon Sep 17 00:00:00 2001 From: Mark Sze Date: Tue, 26 Nov 2024 03:47:50 +0000 Subject: [PATCH] Corrected package import on blog Signed-off-by: Mark Sze --- website/blog/2024-11-15-CaptainAgent/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/blog/2024-11-15-CaptainAgent/index.mdx b/website/blog/2024-11-15-CaptainAgent/index.mdx index 2f9673cf3d..61993fa286 100644 --- a/website/blog/2024-11-15-CaptainAgent/index.mdx +++ b/website/blog/2024-11-15-CaptainAgent/index.mdx @@ -35,7 +35,7 @@ CaptainAgent can serve as a drop-in replacement for the general `AssistantAgent` Without them, CaptainAgent will automatically generate new agents. ```python -from autogen.agentchat.contrib.captain_agent import CaptainAgent +from autogen.agentchat.contrib.captainagent import CaptainAgent from autogen import UserProxyAgent llm_config = { @@ -64,7 +64,7 @@ The tool library we provide requires subscribing to specific APIs, please refer To use agents from an agent library, you just need to specify a `library_path` sub-field or a `autobuild_tool_config` field in CaptainAgent's configuration. ```python -from autogen.agentchat.contrib.captain_agent import CaptainAgent +from autogen.agentchat.contrib.captainagent import CaptainAgent from autogen import UserProxyAgent llm_config = {