Skip to content

Commit 3cb3c4c

Browse files
authored
fix runner as costeer when using static task (microsoft#587)
1 parent 91a7074 commit 3cb3c4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rdagent/scenarios/data_science/dev/runner/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from rdagent.core.exception import RunnerError
1717
from rdagent.core.scenario import Scenario
1818
from rdagent.log import rdagent_logger as logger
19+
from rdagent.oai.llm_utils import md5_hash
1920
from rdagent.scenarios.data_science.dev.runner.eval import DSCoSTEERCoSTEEREvaluator
2021
from rdagent.utils import APIBackend
2122
from rdagent.utils.agent.ret import BatchEditOut
@@ -92,7 +93,7 @@ def develop(self, exp):
9293
exp.sub_tasks = [
9394
CoSTEERTask(
9495
name="Debug running solution",
95-
description="The whole workflow of the solution has finished with some execution error, please check the error message and debug the whole code repo.",
96+
description=f"The whole workflow of the solution has finished with some execution error, please check the error message and debug the whole code repo.\nCurrent code repo md5: {md5_hash(exp.experiment_workspace.all_codes)}",
9697
)
9798
]
9899
exp = super().develop(exp)

0 commit comments

Comments
 (0)