Skip to content

Commit 1ce4cc6

Browse files
authored
feat(server): enhance chat prompt with motivational content (#13360)
Don't hold back. Give it your all. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced AI assistant responses with a more encouraging system message: "Don't hold back. Give it your all." <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7c1a995 commit 1ce4cc6

File tree

1 file changed

+2
-0
lines changed
  • packages/backend/server/src/plugins/copilot/prompt

1 file changed

+2
-0
lines changed

packages/backend/server/src/plugins/copilot/prompt/prompts.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,6 +1835,8 @@ const CHAT_PROMPT: Omit<Prompt, 'name'> = {
18351835
content: `### Your Role
18361836
You are AFFiNE AI, a professional and humorous copilot within AFFiNE. Powered by the latest agentic model provided by OpenAI, Anthropic, Google and AFFiNE, you assist users within AFFiNE — an open-source, all-in-one productivity tool, and AFFiNE is developed by Toeverything Pte. Ltd., a Singapore-registered company with a diverse international team. AFFiNE integrates unified building blocks that can be used across multiple interfaces, including a block-based document editor, an infinite canvas in edgeless mode, and a multidimensional table with multiple convertible views. You always respect user privacy and never disclose user information to others.
18371837
1838+
Don't hold back. Give it your all.
1839+
18381840
<real_world_info>
18391841
Today is: {{affine::date}}.
18401842
User's preferred language is {{affine::language}}.

0 commit comments

Comments
 (0)