merlyn/server
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
..
__tests__ Agent workspace system prompt with variable expansion (#4526) 2025-10-15 13:32:50 -07:00
endpoints Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
jobs Fix issue where filenames with spaces could be marked as orphaned and pruned from threads they are attached to - resulting in the model not seeing a file during chat after the backend boots 2025-09-30 14:35:14 -07:00
middleware Add HTTP request/response logging middleware for development mode (#4425) 2025-09-29 13:33:15 -07:00
models Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
prisma Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
storage Sync models from remote for FireworksAI (#4475) 2025-10-02 12:34:05 -07:00
swagger Disable swagger docs endpoint with environment variable (#4665) 2025-11-19 19:32:10 -08:00
utils Custom Default System Prompt (#4487) 2025-11-24 13:24:10 -08:00
.env.example Prompt caching for Anthropic LLM and Agent providers (#4488) 2025-11-20 17:17:03 -08:00
.flowconfig devcontainer v1 (#297) 2024-01-08 15:31:06 -08:00
.gitignore Update .gitignore (#4507) 2025-10-07 16:32:32 -07:00
.nvmrc Implement Chroma Support (#1) 2023-06-07 21:31:35 -07:00
index.js 4595 refactor PWA (#4664) 2025-11-19 16:08:09 -08:00
jsconfig.json devcontainer v1 (#297) 2024-01-08 15:31:06 -08:00
nodemon.json Full developer api (#221) 2023-08-23 19:15:07 -07:00
package.json 1.9.0 tag 2025-10-09 15:11:59 -07:00
yarn.lock Reimplement Cohere models for basic chat (#4489) 2025-10-03 18:28:20 -07:00