Add /system-as-user for models without system role support.#493
Add /system-as-user for models without system role support.#493ajac-zero wants to merge 2 commits intolmstudio-ai:mainfrom
/system-as-user for models without system role support.#493Conversation
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f11b9554a9
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
af54573 to
40a96c0
Compare
|
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b2085c28a0
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
system role support.
system role support./system-as-user for models without system role support.
b2085c2 to
c4df2d1
Compare
Addresses #458
Currently,
lms chatinjects asystemprompt into every conversation, but not all models (such as Mistral 7b) support thesystemrole.This PR adds a new toggle command
/system-as-user, which sets the role of the system prompt asuserwhen enabled. This allows the command to work with Mistral 7b and similar models without omitting the system prompt entirely.Current error:

New command:

Successful response:
