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
It would be nice to have an option to change the default system role prompt for the GPT API
I don't know if this is somehow now posible to use this feature right now. I looked for it and didn't found anything, and also I looked at the code and looks like it's not possible
The system role prompts changes the messages completely based on what you ask.
I use it to generate messages that use a specific strict format. For example I have a super small system prompt that generates only (without any surrounding text) git conventional commit messages. Doing that using an user role prompt is possible but much harder, and usually some of the messages contains extra text around the commit message that breaks the result.
I just thought that having a selector for the role on the prompt library could make this change super easy. I can make a PR for this if you consider a good addition
Activity
wong2 commentedon Apr 14, 2023
What will you use it for?
victor141516 commentedon Apr 14, 2023
The
system
role prompts changes the messages completely based on what you ask.I use it to generate messages that use a specific strict format. For example I have a super small system prompt that generates only (without any surrounding text) git conventional commit messages. Doing that using an
user
role prompt is possible but much harder, and usually some of the messages contains extra text around the commit message that breaks the result.I just thought that having a selector for the role on the prompt library could make this change super easy. I can make a PR for this if you consider a good addition
wong2 commentedon Apr 14, 2023
I see. PR is welcomed!
github-actions commentedon Jun 26, 2025
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Jul 10, 2025
This issue was closed because it has been inactive for 14 days since being marked as stale.