feat: Add temporary system prompt

Adds a new setting that allows users to set a temporary system prompt for the current chat.
This prompt will override the selected system prompt if it exists.
The new setting is available in the "Current Chat Model Settings" modal.
This feature provides a way to quickly experiment with different system prompts without having to change the default setting.
This commit is contained in:
n4ze3m
2024-10-02 12:30:52 +05:30
parent 2e97f6470d
commit 0e44a7ad4b
15 changed files with 240 additions and 112 deletions

View File

@@ -85,6 +85,11 @@
"numGpu": {
"label": "Num GPU",
"placeholder": "Enter number of layers to send to GPU(s)"
},
"systemPrompt": {
"label": "Temporary System Prompt",
"placeholder": "Enter System Prompt",
"help": "This is a quick way to set the system prompt in the current chat, which will override the selected system prompt if it exists."
}
},
"advanced": "More Model Settings"