Skip to content

Commit f65469a

Browse files
committed
feat(copilot): simplify prompt
1 parent 1a4c119 commit f65469a

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/copilot/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# opencode-plugin-copilot
22

3+
## 0.0.6
4+
5+
### Patch Changes
6+
7+
- simplified prompt
8+
39
## 0.0.5
410

511
### Patch Changes

packages/copilot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-plugin-copilot",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "opencode-plugin-notification",
55
"keywords": [
66
"opencode",

packages/copilot/src/main.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ interface ForceAgentOptions {
55
}
66

77
const DEFAULT_SELF_MESSAGE: ForceAgentOptions["selfMessage"] = (original) =>
8-
`<query>${original}</query>
9-
10-
I will now answer the query:`
8+
`<user_query>${original}</user_query>`
119

1210
export const forceAgent = (options: ForceAgentOptions = {}): Plugin => {
1311
const selfMessage = options.selfMessage ?? DEFAULT_SELF_MESSAGE

0 commit comments

Comments
 (0)