change only model codes in model coder (#707)

This commit is contained in:
XianBW
2025-03-19 19:37:26 +08:00
committed by GitHub
parent dfce823102
commit 8c4d6b9686
@@ -87,6 +87,10 @@ class ModelMultiProcessEvolvingStrategy(MultiProcessEvolvingStrategy):
)
)
if not all(i.startswith("model_") for i in batch_edit.keys()):
user_prompt += "\nYou should only update model codes!"
continue
# 3. post process to align file name to the task name
# we assumpt batch_edit only contains one model file update.
batch_edit = {