Get agent instance by name Args: agent_name: Agent name Returns: Agent: Agent instance or None if not found
(self, agent_name: str)
| 113 | |
| 114 | |
| 115 | async def get(self, agent_name: str) -> Optional[Agent]: |
| 116 | """Get agent instance by name |
| 117 | |
| 118 | Args: |
| 119 | agent_name: Agent name |
| 120 | |
| 121 | Returns: |
| 122 | Agent: Agent instance or None if not found |
| 123 | """ |
| 124 | agent = await self.agent_context_manager.get(agent_name) |
| 125 | return agent |
| 126 | |
| 127 | async def cleanup(self): |
| 128 | """Cleanup all agents""" |
no outgoing calls
no test coverage detected