[FEATURE]: on debug mode displaying which system message prompt used #3182

Open
opened 2026-02-16 17:39:01 -05:00 by yindo · 2 comments
Owner

Originally created by @Cyrille37 on GitHub (Nov 28, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi

I'm a beginner, but I found several system message prompts here from which opencode chooses one based on the provider, isn't it ?

When in debug mode, with --print-logs --log-level DEBUG, I could not find the automatic selected system message in ouput. Have I miss a line ?

It could be nice to know it, like we can force another one by configuration.

Thanks & Regards

Originally created by @Cyrille37 on GitHub (Nov 28, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Hi I'm a beginner, but I found several system message prompts [here](https://github.com/sst/opencode/tree/dev/packages/opencode/src/session/prompt) from which opencode chooses one based on the provider, isn't it ? When in debug mode, _with --print-logs --log-level DEBUG_, I could not find the automatic selected `system message` in ouput. Have I miss a line ? It could be nice to know it, like we can force another one by configuration. Thanks & Regards
yindo added the discussion label 2026-02-16 17:39:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 28, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4700: opencode --prompt does not begin the session (related to prompt handling and configuration)

Feel free to ignore if this doesn't address your specific case. Your feature request about displaying which prompt is selected in debug mode is a distinct enhancement that would help with debugging prompt selection behavior.

@github-actions[bot] commented on GitHub (Nov 28, 2025): This issue might be a duplicate of existing issues. Please check: - #4700: opencode --prompt does not begin the session (related to prompt handling and configuration) Feel free to ignore if this doesn't address your specific case. Your feature request about displaying which prompt is selected in debug mode is a distinct enhancement that would help with debugging prompt selection behavior.
Author
Owner

@Cyrille37 commented on GitHub (Nov 28, 2025):

Also, it could be nice to have option with opencode run to select the system message prompt to use for speed compare providers, without changing the json file configuration. 🦄

@Cyrille37 commented on GitHub (Nov 28, 2025): Also, it could be nice to have option with `opencode run` to select the [system message prompt](https://github.com/sst/opencode/tree/dev/packages/opencode/src/session/prompt) to use for speed compare providers, without changing the json file configuration. 🦄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3182