* Create Magic Docs agent definition
()
| 98 | * Create Magic Docs agent definition |
| 99 | */ |
| 100 | function getMagicDocsAgent(): BuiltInAgentDefinition { |
| 101 | return { |
| 102 | agentType: 'magic-docs', |
| 103 | whenToUse: 'Update Magic Docs', |
| 104 | tools: [FILE_EDIT_TOOL_NAME], // Only allow Edit |
| 105 | model: 'inherit', |
| 106 | source: 'built-in', |
| 107 | baseDir: 'built-in', |
| 108 | getSystemPrompt: () => '', // Will use override systemPrompt |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | export const _getMagicDocsAgentForTest = getMagicDocsAgent |
| 113 |