refactor: use UI_SETTING.amlt_path for combined log folder path (#1184)

This commit is contained in:
you-n-g
2025-08-14 21:51:05 +08:00
committed by GitHub
parent f87dc2a5b8
commit 254eb56da3
+1 -1
View File
@@ -9,7 +9,7 @@ from rdagent.log.ui.conf import UI_SETTING
def convert_log_folder_str(lf: str) -> str:
if "/" not in lf:
return f"/data/share_folder_local/amlt/{lf.strip()}/combined_logs"
return f"{UI_SETTING.amlt_path}/{lf.strip()}/combined_logs"
return lf.strip()