We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 763f69f commit 55a281dCopy full SHA for 55a281d
1 file changed
agent/main.py
@@ -406,6 +406,8 @@ def _run_pip_command(cmd_args: list, operation_name: str) -> bool:
406
def install_requirements(
407
req_file="requirements.txt", pip_config: dict | None = None
408
) -> bool:
409
+ if not Path.exists(Path(project_root_dir) / "deps"):
410
+ return True
411
req_path = Path(project_root_dir) / req_file # 确保相对于项目根目录
412
if not req_path.exists():
413
logger.error(f"{req_file} 文件不存在于 {req_path.resolve()}")
0 commit comments