You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying out GPT-5, and it needs very different behavioural instructions compared to the Anthropic models. It would be really nice if the "instructions" files defined in the config could be defined per provider/model, so that we can switch between models and they'll pick up the relevant instructions without having to edit the config file.
Activity
nefthy commentedon Aug 13, 2025
There actually are different system prompts for some models. GPT-5 uses the packages/opencode/src/session/prompt/codex.txt
florath commentedon Aug 14, 2025
I completely support this feature request!
There should be the possibility to use custom prompts, maybe on an agent level?
Currently there is a differentiation based on the model name:
So IMHO for GPT-5
copilot-gpt-5.txtis used and not codex.txt (which is in my opinion not used at all at the moment).@nefthy: can you please check?
rekram1-node commentedon Aug 14, 2025
I think what @giddie is getting at is that
instructions:in your config should allow you to specify which models you want to load the instruction for.makes sense, some models behave differently than others
nefthy commentedon Aug 14, 2025
@florath yes you are right. It has changed since I last checked it :)
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!