Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
tweak to verification prompt
Dane Schneidere0bd0470a70d
diff --git a/app/server/model/prompts/build.go b/app/server/model/prompts/build.goindex d1d151cb..7fb6a613 100644--- a/app/server/model/prompts/build.go+++ b/app/server/model/prompts/build.go@@ -281,7 +281,7 @@ var ListReplacementsFn = openai.FunctionDefinition{func GetVerifyPrompt(preBuildState, updated, desc, changes string) string {s := `-Based on an original file (if one exists), an AI-generated plan, and an updated file, determine whether the proposed changes were applied correctly to the updated file. Is the syntax in the updated file correct? Were the changes applied correctly or was some code from the original file removed or overwritten that should not have been? Does the updated file as a whole make sense and was it updated consistently with the intention of the plan? Were all comments in the proposed changes that referenced the original code correctly handled in the updated file by including the exact code from the original file that the comment was referencing?+Based on an original file (if one exists), an AI-generated plan, and an updated file, determine whether the proposed changes were applied correctly to the updated file. Is the syntax in the updated file correct? Were the changes applied correctly or was some code from the original file removed or overwritten that should not have been? Does the updated file as a whole make sense and was it updated consistently with the intention of the plan? Were *all* comments in the proposed changes that referenced the original code correctly handled in the updated file by including the exact code from the original file that the comment was referencing? Did any code get duplicated that should not have been?If there is no original file, it means that a new file was created from scratch based on the AI-generated plan. In this case, the syntax in the new file must be valid and consistent with the intention of the plan. You must ensure there are no syntax errors or other clear mistakes in the new file.