From 3a76d537ca515d82d8573dec6fe7ddf80779dc87 Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Tue, 21 Jan 2025 16:51:17 +0000 Subject: [PATCH] Fix typo in require_optional_import decorator --- autogen/agentchat/contrib/retrieve_user_proxy_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/agentchat/contrib/retrieve_user_proxy_agent.py b/autogen/agentchat/contrib/retrieve_user_proxy_agent.py index 611ee08514..73eb885629 100644 --- a/autogen/agentchat/contrib/retrieve_user_proxy_agent.py +++ b/autogen/agentchat/contrib/retrieve_user_proxy_agent.py @@ -89,7 +89,7 @@ UPDATE_CONTEXT_IN_PROMPT = "you should reply exactly `UPDATE CONTEXT`" -@require_optional_import(["chromadb", "ipython"], "retrievechat") +@require_optional_import(["chromadb", "IPython"], "retrievechat") class RetrieveUserProxyAgent(UserProxyAgent): """(In preview) The Retrieval-Augmented User Proxy retrieves document chunks based on the embedding similarity, and sends them along with the question to the Retrieval-Augmented Assistant