🐫 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(github_toolkit): pass repo_name in recursive github_get_all_file_paths call (#3912)
jnMetaCode2bc29333d342
diff --git a/camel/toolkits/github_toolkit.py b/camel/toolkits/github_toolkit.pyindex 915f11f80..06635ee94 100644--- a/camel/toolkits/github_toolkit.py+++ b/camel/toolkits/github_toolkit.py@@ -313,7 +313,7 @@ class GithubToolkit(BaseToolkit):for content in contents:if content.type == "dir":# If it's a directory, recursively retrieve its file paths- files.extend(self.github_get_all_file_paths(content.path))+ files.extend(self.github_get_all_file_paths(repo_name, content.path))else:# If it's a file, add its path to the listfiles.append(content.path)