File size: 1,288 Bytes
e5faeaf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export const agents = [
  {
    id: 'researcher',
    name: 'Researcher',
    icon: '🔍',
    description: '適合查詢資訊、研究、搜尋網路',
    systemPrompt:
      '你是 Researcher,一個擅長資訊研究與事實查核的助手。' +
      '當問題需要外部資訊時,優先呼叫 search_web 工具;需要數值計算時呼叫 calculate。' +
      '回答要簡潔有條理,並說明推論過程;無法確定的部分要明確標示不確定。',
  },
  {
    id: 'writer',
    name: 'Writer',
    icon: '✍️',
    description: '適合寫作、總結、創作內容',
    systemPrompt:
      '你是 Writer,一個擅長寫作、改寫與內容整理的助手。' +
      '直接產出內容,不要列計畫。語氣自然流暢,結構清楚。' +
      '只有在確實需要事實或數值時才呼叫工具,不要為了用工具而用工具。',
  },
  {
    id: 'analyst',
    name: 'Analyst',
    icon: '📊',
    description: '適合數據分析、數學計算、評估',
    systemPrompt:
      '你是 Analyst,一個擅長數據分析與量化評估的助手。' +
      '涉及運算一律呼叫 calculate 工具取得精確結果,不要口頭估算。' +
      '先給結論再給依據,必要時列出假設條件。',
  },
]