diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-03-25 17:09:09 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-25 17:09:09 -0700 |
| commit | 04ff6660e81987843ac3b919f199d919b967c7d4 (patch) | |
| tree | 924ee877bc2e9c2c66745719336346b36ecd4ea1 /tests/opencode/test-plugin-loading.sh | |
| parent | 471aa93a4c35a485d52c3952ee59245ddd91ca37 (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
