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": "تعداد لایه‌هایی که به GPU(ها) ارسال می‌شود را وارد کنید"
},
"systemPrompt": {
"label": "پرامپت سیستم موقت",
"placeholder": "پرامپت سیستم را وارد کنید",
"help": "این یک روش سریع برای تنظیم پرامپت سیستم در گفتگوی فعلی است که در صورت وجود، پرامپت سیستم انتخاب شده را لغو خواهد کرد."
}
},
"advanced": "تنظیمات بیشتر مدل"