VIBN Frontend for Coolify deployment

This commit is contained in:
2026-02-15 19:25:52 -08:00
commit 40bf8428cd
398 changed files with 76513 additions and 0 deletions

38
lib/ai/chat-modes.ts Normal file
View File

@@ -0,0 +1,38 @@
/**
* Chat Modes and System Prompts
*
* Defines available chat modes and maps them to their system prompts.
* Prompts are now versioned and managed in separate files under lib/ai/prompts/
*/
import {
collectorPrompt,
extractionReviewPrompt,
visionPrompt,
mvpPrompt,
marketingPrompt,
generalChatPrompt,
} from './prompts';
export type ChatMode =
| "collector_mode"
| "extraction_review_mode"
| "vision_mode"
| "mvp_mode"
| "marketing_mode"
| "general_chat_mode";
/**
* Maps each chat mode to its current active system prompt.
*
* Prompts are version-controlled in separate files.
* To update a prompt or switch versions, edit the corresponding file in lib/ai/prompts/
*/
export const MODE_SYSTEM_PROMPTS: Record<ChatMode, string> = {
collector_mode: collectorPrompt,
extraction_review_mode: extractionReviewPrompt,
vision_mode: visionPrompt,
mvp_mode: mvpPrompt,
marketing_mode: marketingPrompt,
general_chat_mode: generalChatPrompt,
};