文件获取优化使用ali
Some checks failed
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled

This commit is contained in:
HibiKier 2025-08-05 11:12:44 +08:00
parent d7747e3b0e
commit ef39815828

View File

@ -207,13 +207,13 @@ class RepoFileManager:
)
if repo_type is None:
try:
return await self.get_github_file_content(
repo_url, file_path, ignore_error
)
except Exception:
return await self.get_aliyun_file_content(
repo_name, file_path, branch, ignore_error
)
except Exception:
return await self.get_github_file_content(
repo_url, file_path, ignore_error
)
try:
if repo_type == RepoType.GITHUB: