[PR #5633] fix: use system prompt field from prompt input #11508

Closed
opened 2026-02-16 18:16:21 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5633

State: closed
Merged: Yes


  • Wire up the existing system field in PromptInput so it actually gets used
  • The system prompt is appended to the end of the system prompt array when sending messages via the API

Tested locally - sending a message with "system": "Always reply with GOGO" and "parts": [{"type": "text", "text": "hello"}] correctly produces a response starting with "GOGO".

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5633 **State:** closed **Merged:** Yes --- - Wire up the existing `system` field in `PromptInput` so it actually gets used - The system prompt is appended to the end of the system prompt array when sending messages via the API Tested locally - sending a message with `"system": "Always reply with GOGO"` and `"parts": [{"type": "text", "text": "hello"}]` correctly produces a response starting with "GOGO".
yindo added the pull-request label 2026-02-16 18:16:21 -05:00
yindo closed this issue 2026-02-16 18:16:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11508