samlax12 commited on
Commit
3f47779
·
verified ·
1 Parent(s): 18be892

Update constants.ts

Browse files
Files changed (1) hide show
  1. constants.ts +14 -16
constants.ts CHANGED
@@ -161,7 +161,7 @@ export const DEFAULT_ROLES: AiRole[] = [
161
  5. 适当引用相关的历史案例或智慧,但保持简洁
162
  记住:你是Sage,独一无二的历史智慧型助手。`,
163
  modelId: 'gpt-4-mini-default',
164
- isActive: false
165
  },
166
 
167
  //Echo - 同理心型
@@ -182,7 +182,7 @@ export const DEFAULT_ROLES: AiRole[] = [
182
  5. 帮助大家理解不同观点背后的情感需求
183
  记住:你是Echo,独一无二的同理心型助手。`,
184
  modelId: 'gpt-4-mini-default',
185
- isActive: false
186
  },
187
 
188
  // Praxis - 实践行动型
@@ -203,7 +203,7 @@ export const DEFAULT_ROLES: AiRole[] = [
203
  5. 提供清晰的实施建议和操作步骤
204
  记住:你是Praxis,独一无二的实践行动型助手。`,
205
  modelId: 'gpt-4-mini-default',
206
- isActive: false
207
  },
208
 
209
  //Nexus - 综合连接型
@@ -224,7 +224,7 @@ export const DEFAULT_ROLES: AiRole[] = [
224
  5. 寻找创新的组合和综合方案
225
  记住:你是Nexus,独一无二的综合连接型助手。`,
226
  modelId: 'gpt-4-mini-default',
227
- isActive: false
228
  },
229
 
230
  //Critic - 批判思维型
@@ -245,7 +245,7 @@ export const DEFAULT_ROLES: AiRole[] = [
245
  5. 在质疑的同时提供改进建议
246
  记住:你是Critic,独一无二的批判思维型助手。`,
247
  modelId: 'gpt-4-mini-default',
248
- isActive: false
249
  },
250
 
251
  //Zen - 哲学沉思型
@@ -266,7 +266,7 @@ export const DEFAULT_ROLES: AiRole[] = [
266
  5. 以宁静智慧的方式分享洞察
267
  记住:你是Zen,独一无二的哲学沉思型助手。`,
268
  modelId: 'gpt-4-mini-default',
269
- isActive: false
270
  }
271
  ];
272
 
@@ -699,28 +699,26 @@ export const MIN_MANUAL_FIXED_TURNS = 1;
699
  export const MAX_MANUAL_FIXED_TURNS = 5;
700
  export const MAX_AI_DRIVEN_DISCUSSION_TURNS_PER_MODEL = 3;
701
 
702
- export const INITIAL_NOTEPAD_CONTENT = `这是一个共享记事本。
703
- AI角色可以在这里合作记录想法、草稿或关键点。
704
-
705
- 使用指南:
706
- - AI 模型可以通过在其回复中包含特定指令来更新此记事本。
707
- - 记事本的内容将包含在发送给 AI 的后续提示中。
708
-
709
- 初始状态:空白。`;
710
 
 
711
  export const NOTEPAD_INSTRUCTION_PROMPT_PART = `
712
- You also have access to a shared notepad.
713
  Current Notepad Content:
714
  ---
715
  {notepadContent}
716
  ---
717
- Instructions for Notepad:
 
 
718
  1. To update the notepad, include a section at the very end of your response, formatted exactly as:
719
  <notepad_update>
720
  [YOUR NEW FULL NOTEPAD CONTENT HERE. THIS WILL REPLACE THE ENTIRE CURRENT NOTEPAD CONTENT.]
721
  </notepad_update>
722
  2. If you do not want to change the notepad, do NOT include the <notepad_update> section at all.
723
  3. Your primary spoken response to the ongoing discussion should come BEFORE any <notepad_update> section. Ensure you still provide a spoken response.
 
724
  `;
725
 
726
  export const NOTEPAD_UPDATE_TAG_START = "<notepad_update>";
 
161
  5. 适当引用相关的历史案例或智慧,但保持简洁
162
  记住:你是Sage,独一无二的历史智慧型助手。`,
163
  modelId: 'gpt-4-mini-default',
164
+ isActive: false
165
  },
166
 
167
  //Echo - 同理心型
 
182
  5. 帮助大家理解不同观点背后的情感需求
183
  记住:你是Echo,独一无二的同理心型助手。`,
184
  modelId: 'gpt-4-mini-default',
185
+ isActive: false
186
  },
187
 
188
  // Praxis - 实践行动型
 
203
  5. 提供清晰的实施建议和操作步骤
204
  记住:你是Praxis,独一无二的实践行动型助手。`,
205
  modelId: 'gpt-4-mini-default',
206
+ isActive: false
207
  },
208
 
209
  //Nexus - 综合连接型
 
224
  5. 寻找创新的组合和综合方案
225
  记住:你是Nexus,独一无二的综合连接型助手。`,
226
  modelId: 'gpt-4-mini-default',
227
+ isActive: false
228
  },
229
 
230
  //Critic - 批判思维型
 
245
  5. 在质疑的同时提供改进建议
246
  记住:你是Critic,独一无二的批判思维型助手。`,
247
  modelId: 'gpt-4-mini-default',
248
+ isActive: false
249
  },
250
 
251
  //Zen - 哲学沉思型
 
266
  5. 以宁静智慧的方式分享洞察
267
  记住:你是Zen,独一无二的哲学沉思型助手。`,
268
  modelId: 'gpt-4-mini-default',
269
+ isActive: false
270
  }
271
  ];
272
 
 
699
  export const MAX_MANUAL_FIXED_TURNS = 5;
700
  export const MAX_AI_DRIVEN_DISCUSSION_TURNS_PER_MODEL = 3;
701
 
702
+ // 修复:初始记事本内容设为空,避免AI误引用
703
+ export const INITIAL_NOTEPAD_CONTENT = ``;
 
 
 
 
 
 
704
 
705
+ // 优化:明确说明记事本内容仅供参考,不应在回复中重复
706
  export const NOTEPAD_INSTRUCTION_PROMPT_PART = `
707
+ You also have access to a shared notepad for collaborative note-taking.
708
  Current Notepad Content:
709
  ---
710
  {notepadContent}
711
  ---
712
+ IMPORTANT: The notepad content above is for your reference only. Do NOT repeat or quote the notepad content in your response unless specifically relevant to your answer.
713
+
714
+ Instructions for Notepad Updates:
715
  1. To update the notepad, include a section at the very end of your response, formatted exactly as:
716
  <notepad_update>
717
  [YOUR NEW FULL NOTEPAD CONTENT HERE. THIS WILL REPLACE THE ENTIRE CURRENT NOTEPAD CONTENT.]
718
  </notepad_update>
719
  2. If you do not want to change the notepad, do NOT include the <notepad_update> section at all.
720
  3. Your primary spoken response to the ongoing discussion should come BEFORE any <notepad_update> section. Ensure you still provide a spoken response.
721
+ 4. Only update the notepad when you have important information to record, not for every response.
722
  `;
723
 
724
  export const NOTEPAD_UPDATE_TAG_START = "<notepad_update>";