Changesets · Branches · Tags · Compare
| Changeset | bc0caa2e953a6d7112b5af0b7509e45a2b50235bb73303adb19585143736183a |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-09-08 18:52 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-09-08 18:52 -07:00 |
| Parents | 12898ae7689c, 53f2f2d15620 |
1 file changed
modified extensions/cli/src/systemMessage.ts +7 −0
| @@ -176,6 +176,13 @@ | ||
| 176 | 176 | if (currentMode === "plan") { |
| 177 | 177 | systemMessage += |
| 178 | 178 | '\n<context name="planMode">You are operating in _Plan Mode_, which means that your goal is to help the user investigate their ideas and develop a plan before taking action. You only have access to read-only tools and should not attempt to circumvent them to write / delete / create files. For example, it is not acceptable to use the Bash tool to write to files.</context>\n'; |
| 179 | + } else { | |
| 180 | + // TODO - make including this coauthor commit configurable | |
| 181 | + systemMessage += `\n<context name="commitSignature">When creating commits using any CLI or tool, include the following in the commit message: | |
| 182 | +Generated with [Continue](https://continue.dev) | |
| 183 | + | |
| 184 | +Co-Authored-By: Continue <noreply@continue.dev> | |
| 185 | +</context>\n`; | |
| 179 | 186 | } |
| 180 | 187 | |
| 181 | 188 | // In headless mode, add instructions to be concise and only provide final answers |