🐫 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:terminal_toolkit windows (#1807)
Asher-hss03ddc32424b9
diff --git a/camel/toolkits/terminal_toolkit.py b/camel/toolkits/terminal_toolkit.pyindex 08d5a7d90..31f331526 100644--- a/camel/toolkits/terminal_toolkit.py+++ b/camel/toolkits/terminal_toolkit.py@@ -117,9 +117,9 @@ class TerminalToolkit(BaseToolkit):else: # Windows# For Windows, we use dir command with /s for recursive search# and /b for bare format-pattern = glob- command.extend(["dir", "/s", "/b", os.path.join(path, pattern)])+ file_path = os.path.join(path, pattern).replace('/', '\\')+ command.extend(["cmd", "/c", "dir", "/s", "/b", file_path])try:result = subprocess.run(