merlyn/server/utils/chats
Marcello Fitton 5716ac5ed5
Custom Default System Prompt (#4487)
* Add Default System Prompt Management

- Introduced a new route for fetching and updating the default system prompt in the backend.
- Added a new Admin page for managing the default system prompt, including a form for editing and saving changes.
- Updated the SettingsSidebar to include a link to the new Default System Prompt page.
- Implemented fetching of available system prompt variables for use in the prompt editor.
- Enhanced the ChatSettings and ChatPromptSettings components to support the new default system prompt functionality.

This commit lays the groundwork for improved management of system prompts across workspaces.

* Remove validation for system prompt in ChatSettings component

* Add comment for system prompt in workspaces model

* linting, simplify logic for default assumption

* dev build

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-11-24 13:24:10 -08:00
..
commands Clear chat window on /reset (#1261) 2024-05-01 20:39:58 -07:00
agents.js wip agent ui animation (#2999) 2025-01-22 11:10:02 -08:00
apiChatHandler.js Implement full chat and @agent chat user indentificiation for OpenRouter (#4668) 2025-11-20 12:38:43 -08:00
embed.js Configurable message limit for embed chat widget (#4114) 2025-07-10 12:45:53 -07:00
index.js Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
openaiCompatible.js Fix multimodal chats via openai compat api (#4135) 2025-07-22 09:57:32 -07:00
stream.js Implement full chat and @agent chat user indentificiation for OpenRouter (#4668) 2025-11-20 12:38:43 -08:00