(agentType: string, overrides: Partial<MockAgentDefinition> = {})
| 563 | const { AgentTool } = await import(import.meta.resolve('./AgentTool/AgentTool.tsx')) |
| 564 | |
| 565 | function createAgent(agentType: string, overrides: Partial<MockAgentDefinition> = {}): MockAgentDefinition { |
| 566 | return { |
| 567 | agentType, |
| 568 | whenToUse: `Use ${agentType}`, |
| 569 | source: 'built-in', |
| 570 | baseDir: 'built-in', |
| 571 | getSystemPrompt: () => `${agentType} prompt`, |
| 572 | ...overrides, |
| 573 | } |
| 574 | } |
| 575 | |
| 576 | function createToolUseContext({ |
| 577 | activeAgents = [], |
no outgoing calls
no test coverage detected