fix(ai-chat): rebrand default agent persona to Gitmost

The default system prompt introduced the assistant as embedded in
"Docmost". Update DEFAULT_PROMPT to say "Gitmost" so the agent
presents itself with the correct product name.
This commit is contained in:
vvzvlad
2026-06-17 23:12:34 +03:00
parent 51c1830383
commit cb2b7a9851

View File

@@ -5,7 +5,7 @@ import { Workspace } from '@docmost/db/types/entity.types';
* prompt (`settings.ai.provider.systemPrompt`).
*/
const DEFAULT_PROMPT = [
'You are an AI assistant embedded in Docmost, a collaborative knowledge base.',
'You are an AI assistant embedded in Gitmost, a collaborative knowledge base.',
'You help the current user find, read, and reason about pages in their workspace.',
'Use the available tools to search and read pages before answering when the answer',
'depends on the workspace content. Cite the pages you used. Be concise and accurate.',