From 62b635729451f5dcb372cb79df413f0d53be1379 Mon Sep 17 00:00:00 2001 From: "lars.gersmann" Date: Sat, 7 Oct 2023 06:04:22 +0200 Subject: [PATCH 1/6] docs: typo fixed (#129) --- notebook/agentchat_RetrieveChat.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/agentchat_RetrieveChat.ipynb b/notebook/agentchat_RetrieveChat.ipynb index 60c2f8861d93..fca0ade9d86f 100644 --- a/notebook/agentchat_RetrieveChat.ipynb +++ b/notebook/agentchat_RetrieveChat.ipynb @@ -19,7 +19,7 @@ "AutoGen offers conversable agents powered by LLM, tool or human, which can be used to perform tasks collectively via automated chat. This framwork allows tool use and human participance through multi-agent conversation.\n", "Please find documentation about this feature [here](https://microsoft.github.io/autogen/docs/Use-Cases/agent_chat).\n", "\n", - "RetrieveChat is a convesational system for retrieve augmented code generation and question answering. In this notebook, we demonstrate how to utilize RetrieveChat to generate code and answer questions based on customized documentations that are not present in the LLM's training dataset. RetrieveChat uses the `RetrieveAssistantAgent` and `RetrieveUserProxyAgent`, which is similar to the usage of `AssistantAgent` and `UserProxyAgent` in other notebooks (e.g., [Automated Task Solving with Code Generation, Execution & Debugging](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_auto_feedback_from_code_execution.ipynb)). Essentially, `RetrieveAssistantAgent` and `RetrieveUserProxyAgent` implement a different auto-reply mechanism corresponding to the RetrieveChat prompts.\n", + "RetrieveChat is a conversational system for retrieve augmented code generation and question answering. In this notebook, we demonstrate how to utilize RetrieveChat to generate code and answer questions based on customized documentations that are not present in the LLM's training dataset. RetrieveChat uses the `RetrieveAssistantAgent` and `RetrieveUserProxyAgent`, which is similar to the usage of `AssistantAgent` and `UserProxyAgent` in other notebooks (e.g., [Automated Task Solving with Code Generation, Execution & Debugging](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_auto_feedback_from_code_execution.ipynb)). Essentially, `RetrieveAssistantAgent` and `RetrieveUserProxyAgent` implement a different auto-reply mechanism corresponding to the RetrieveChat prompts.\n", "\n", "## Table of Contents\n", "We'll demonstrates six examples of using RetrieveChat for code generation and question answering:\n", From a087347d1942124ff9a8d0c4e590a55adaed9ddc Mon Sep 17 00:00:00 2001 From: Hyung-Taik Choi Date: Sat, 7 Oct 2023 13:16:29 +0900 Subject: [PATCH 2/6] Fix broken link in README.md (#134) The link to the documentation's FAQ#code-execution was broken because the 'docs' directory was missing in the original URL. Co-authored-by: Qingyun Wu --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f315690ad12..60a7a35c52c7 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ pip install "pyautogen[blendsearch]" Find more options in [Installation](https://microsoft.github.io/autogen/docs/Installation). -For [code execution](https://microsoft.github.io/autogen/FAQ#code-execution), we strongly recommend installing the python docker package, and using docker. +For [code execution](https://microsoft.github.io/autogen/docs/FAQ/#code-execution), we strongly recommend installing the python docker package, and using docker. For LLM inference configurations, check the [FAQ](https://microsoft.github.io/autogen/docs/FAQ#set-your-api-endpoints). From f863e97b94b3057a6ad7153933945364363291e8 Mon Sep 17 00:00:00 2001 From: Tristan Murphy <72839119+HyperCodec@users.noreply.github.com> Date: Sat, 7 Oct 2023 00:32:05 -0400 Subject: [PATCH 3/6] fix doc typo (#123) Co-authored-by: Qingyun Wu --- autogen/agentchat/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/agentchat/agent.py b/autogen/agentchat/agent.py index 8a71147297eb..b83709dc30bd 100644 --- a/autogen/agentchat/agent.py +++ b/autogen/agentchat/agent.py @@ -28,7 +28,7 @@ def send(self, message: Union[Dict, str], recipient: "Agent", request_reply: Opt """(Abstract method) Send a message to another agent.""" async def a_send(self, message: Union[Dict, str], recipient: "Agent", request_reply: Optional[bool] = None): - """(Aabstract async method) Send a message to another agent.""" + """(Abstract async method) Send a message to another agent.""" def receive(self, message: Union[Dict, str], sender: "Agent", request_reply: Optional[bool] = None): """(Abstract method) Receive a message from another agent.""" From 09c9dbe944e9a353e6666df96ebb5e2ae79f6817 Mon Sep 17 00:00:00 2001 From: Sagar Desai <60027013+SDcodehub@users.noreply.github.com> Date: Sat, 7 Oct 2023 10:05:48 +0530 Subject: [PATCH 4/6] typo fixed (#127) Co-authored-by: Sagar Desai <60027013+sagardesai-ml-mlops@users.noreply.github.com> Co-authored-by: Qingyun Wu --- website/docs/Examples/AutoGen-AgentChat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/Examples/AutoGen-AgentChat.md b/website/docs/Examples/AutoGen-AgentChat.md index 55988818ef0a..4ecd42b5663c 100644 --- a/website/docs/Examples/AutoGen-AgentChat.md +++ b/website/docs/Examples/AutoGen-AgentChat.md @@ -1,6 +1,6 @@ # AutoGen - Automated Multi Agent Chat -AutoGen offers conversable agents powered by LLM, tool or human, which can be used to perform tasks collectively via automated chat. This framwork allows tool use and human participance via multi-agent conversation. +AutoGen offers conversable agents powered by LLM, tool or human, which can be used to perform tasks collectively via automated chat. This framework allows tool use and human participance via multi-agent conversation. Please find documentation about this feature [here](/docs/Use-Cases/agent_chat). Links to notebook examples: From 5510e87c0a5386976e558d78f5bfeabd1dab4de4 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sat, 7 Oct 2023 02:18:04 -0700 Subject: [PATCH 5/6] bump version to 0.1.7 (#141) --- autogen/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/version.py b/autogen/version.py index 0a8da882586d..f1380eede217 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.1.6" +__version__ = "0.1.7" From 5ff85a3febe2ecdd494fe3c6e788fff3ab4371ba Mon Sep 17 00:00:00 2001 From: mrauter1 Date: Sat, 7 Oct 2023 10:29:52 -0300 Subject: [PATCH 6/6] Title: Adjust shell language switch in execute_code for Docker usage (#139) Description: This commit modifies the conditional check in execute_code to ensure the switch to PowerShell on Windows only occurs when Docker is not being used. This keeps shell script execution consistent within a Docker container across all platforms, aligning with the function's intended behavior. Co-authored-by: Xiaoyun Zhang --- autogen/code_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/code_utils.py b/autogen/code_utils.py index 4e76b70738ca..ff97f567de53 100644 --- a/autogen/code_utils.py +++ b/autogen/code_utils.py @@ -259,7 +259,7 @@ def execute_code( timeout = timeout or DEFAULT_TIMEOUT original_filename = filename - if WIN32 and lang in ["sh", "shell"]: + if WIN32 and lang in ["sh", "shell"] and (not use_docker): lang = "ps1" if filename is None: code_hash = md5(code.encode()).hexdigest()