Global/Mode system prompts #1482
bertvanbrakel
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems Roo currently supports workspace level system system prompt override.
The issue is that I use multiple workspaces to organise various projects, and having to replicate and manage system.prompts across them will be a pain.
Also, I'd like to be able to select a different system prompt per mode. This could help for example to reduce the amount of things sent to an LLM when I know that isn't required.
One approach is to look in order for the following files
HOME/.roo/system-prompt.{mode}.{model}.txt
HOME/.roo/system-prompt.{mode}.txt
HOME/.roo/system-prompt
In addition, maybe a template approach would be handy, so that we don't need to copy/paste and manage all the snippets.
E.g
Blah blah system prompt
{{builtin/mcp-tools}}
{{custom/mcp-my-custom-tool}}
etc
That makes it easier to chop and change things.
Just be a simple file based structure, with a simple text processor to merge the files into a single prompt.
It would be event cooler if we could include prompts dynamically based on the tasks at hand..Coding task? Add the coding prompts. Maybe the llm can call a tool called 'context-tags' to add or based on task, and behind the scenes this then adds/removes system prompts. Dependent inclusion could be done via a 'key?:
E.g'
{{bash?:custom/rules-bash.md}}
But this is getting more complex, and the simpler basic includes would be a good starting point.
If this is something that is desirable, I am willing to implement this time constraints allowing. Have to grok the codebase a bit first.
Beta Was this translation helpful? Give feedback.
All reactions