merlyn/server/utils/helpers/chat
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
..
convertTo.js Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
index.js make similarityResponse object arguments and not positional (#2930) 2025-01-02 12:03:26 -08:00
LLMPerformanceMonitor.js fix: Use eval_duration for output TPS calculations in Ollama LLM provider (#4568) 2025-11-20 13:02:47 -08:00
responses.js Handle BigInt in message response (#4110) 2025-07-10 12:33:34 -07:00