INNER CODE UNIT · TypeScript
getAgentConfig
AgentDock/AgentDock · agentdock-core/src/config/agents/index.ts:26
export function getAgentConfig(agentType: 'therapy' | 'business' | 'research') {
switch (agentType) {
case 'therapy':
return require('./therapy-agent-config').therapyAgentConfig;
case 'business':
return require('./business-agent-config').businessAgentConfig;
case 'research':
return require('./research-agent-config').researchAgentConfig;
default:
throw new Error(`Unknown agent type: ${agentType}`);
}
}