🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
fix:SubprocessInterpreter does not successfully provide code (#2024)
Wendong-Fan9b197277cc7a
diff --git a/camel/interpreters/docker_interpreter.py b/camel/interpreters/docker_interpreter.pyindex d38c6e060..b96f1db45 100644--- a/camel/interpreters/docker_interpreter.py+++ b/camel/interpreters/docker_interpreter.py@@ -210,7 +210,7 @@ class DockerInterpreter(BaseInterpreter):if self.require_confirm:logger.info(f"The following {code_type} code will run on your "- "computer: {code}"+ f"computer: {code}")while True:choice = input("Running code? [Y/n]:").lower()diff --git a/camel/interpreters/e2b_interpreter.py b/camel/interpreters/e2b_interpreter.pyindex 881dd604b..c942214ac 100644--- a/camel/interpreters/e2b_interpreter.py+++ b/camel/interpreters/e2b_interpreter.py@@ -99,7 +99,7 @@ class E2BInterpreter(BaseInterpreter):if self.require_confirm:logger.info(f"The following {code_type} code will run on your "- "e2b sandbox: {code}"+ f"e2b sandbox: {code}")while True:choice = input("Running code? [Y/n]:").lower()diff --git a/camel/interpreters/subprocess_interpreter.py b/camel/interpreters/subprocess_interpreter.pyindex 7f4965e3c..f9f7598a2 100644--- a/camel/interpreters/subprocess_interpreter.py+++ b/camel/interpreters/subprocess_interpreter.py@@ -292,7 +292,7 @@ class SubprocessInterpreter(BaseInterpreter):if self.require_confirm:logger.info(f"The following {code_type} code will run on your "- "computer: {code}"+ f"computer: {code}")while True:choice = input("Running code? [Y/n]:").lower().strip()