Open giladbarnea opened 6 months ago
You can create a custom role that's empty:
{"name": "empty", "role": ""}
Unfortunately whether or not it uses markdown is dependent on the role description, so if you want that use this:
{"name": "empty", "role": "APPLY MARKDOWN"}
Then you can do
sgpt --role empty
The roles are stored in the config dir, e.g. ~/.config/shell_gpt/roles
@jeanlucthumm thanks! Your suggestion would do the job but feels to me more like a workaround, and specifying --role empty
to me would feel less organic than sgpt -r ...
.
If it involved less development effort, it would arguably be more worthwhile, but it too doesn't work out of the box (https://github.com/TheR1D/shell_gpt/issues/561)
Added a -r, --raw option to use the LLM as-is without a specific role or system message.
Raw mode increases flexibility by enabling responses similar to those obtained directly through the LLM's API.
Discussion: #551