Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: fix pre commit issue (#3926)

Wendong-Fan933b52a72228
diff --git a/camel/toolkits/github_toolkit.py b/camel/toolkits/github_toolkit.py
index 06635ee94..dcf4e9157 100644
--- a/camel/toolkits/github_toolkit.py
+++ b/camel/toolkits/github_toolkit.py
@@ -313,7 +313,9 @@ 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(repo_name, 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 list
files.append(content.path)