You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
example:Some(r#"The path is a relative path, with no leading slash. You must generate a trailing slash, for example: server/bleep/src/webserver/. On Windows, generate backslash separated components, for example: server\bleep\src\webserver\"#),
161
161
},
162
162
Rule{
163
-
title:"Write a new code file",
164
-
description:"Write a new code file that satisfies the query. Do not use this to demonstrate updating an existing file.",
165
-
schema:"[\"new\",LANGUAGE:STRING,CODE:STRING]",
166
-
note:"This object can occur multiple times",
167
-
example:None,
168
-
},
169
-
Rule{
170
-
title:"Update the code in an existing file",
171
-
description:"Edit an existing code file by generating the diff between old and new versions. Changes should be as small as possible.",
172
-
schema:"[\"mod\",PATH ALIAS:INT,LANGUAGE:STRING,DESCRIPTION:STRING,GIT DIFF WITHOUT LINE NUMBERS:STRING]",
163
+
title:"Write a new code file in a unified diff format",
164
+
description:"Write a new code file that satisfies the query.",
165
+
schema:"[\"mod\",null,LANGUAGE:STRING,DESCRIPTION:STRING,GIT DIFF WITHOUT LINE NUMBERS:STRING,NEW PATH:STRING]",
173
166
note:"This object can occur multiple times",
174
167
example:Some(r#"DESCRIPTION is a natural language description of the changes
168
+
NEW PATH: path for the newly created file.
175
169
GIT DIFF WITHOUT LINE NUMBERS describes the unified diff for the file, including the git diff header. Do not include any line numbers
176
170
For example:
177
171
```
178
172
@@ -1,7 +1,6 @@
179
-
-The Way that can be told of is not the eternal Way;
180
-
-The name that can be named is not the eternal name.
173
+
-The Way that can be told of is not the eternal Way;
174
+
-The name that can be named is not the eternal name.
0 commit comments