We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52539c commit 9e8ff17Copy full SHA for 9e8ff17
rdagent/components/coder/data_science/model/__init__.py
@@ -87,6 +87,10 @@ def implement_one_task(
87
)
88
89
90
+ if not all(i.startswith("model_") for i in batch_edit.keys()):
91
+ user_prompt += "\nYou should only update model codes!"
92
+ continue
93
+
94
# 3. post process to align file name to the task name
95
# we assumpt batch_edit only contains one model file update.
96
batch_edit = {
0 commit comments