Skip to content

Commit 69c1bfb

Browse files
committed
code change summary bug fix
1 parent 4879140 commit 69c1bfb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def evaluate(
185185
)
186186
user_prompt = T(".prompts:DSCoSTEER_eval.user").r(
187187
code=implementation.all_codes,
188+
change_summary=implementation.change_summary,
188189
stdout=shrink_text(stdout),
189190
time_spent=f"{implementation.running_info.running_time:.2f} seconds",
190191
timeout=f"{env.conf.running_timeout_period} seconds",

rdagent/scenarios/data_science/dev/runner/prompts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ DSCoSTEER:
190190
user: |-
191191
# Current Code Base
192192
{{ code }}
193+
{% if change_summary is not none %}
194+
# Current Code Change Summary
195+
{{ change_summary }}{% endif %}
193196
194197
## Feedback of Current Code Base
195198
{{ feedback }}

0 commit comments

Comments
 (0)