diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-03-25 17:09:09 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-31 11:51:22 -0700 |
| commit | 0a1124ba5368e830969fc1a1f30f84265711b8cd (patch) | |
| tree | 924ee877bc2e9c2c66745719336346b36ecd4ea1 /tests/opencode/test-plugin-loading.sh | |
| parent | 65d760f9c28b87c07b4748d2649189de85a79d36 (diff) | |
fix(opencode): inject bootstrap as user message instead of system message
Move bootstrap injection from experimental.chat.system.transform to
experimental.chat.messages.transform, prepending to the first user
message instead of adding a system message.
This avoids two issues:
- System messages repeated every turn inflate token usage (#750)
- Multiple system messages break Qwen and other models (#894)
Tested on OpenCode 1.3.2 with Claude Sonnet 4.5 — brainstorming skill
fires correctly on "Let's make a React to do list" prompt.
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
