Get agent info by name Args: agent_name: Agent name Returns: AgentConfig: Agent info or None if not found
(self, agent_name: str)
| 538 | return agent_config.instance if agent_config.instance is not None else None |
| 539 | |
| 540 | async def get_info(self, agent_name: str) -> Optional[AgentConfig]: |
| 541 | """Get agent info by name |
| 542 | |
| 543 | Args: |
| 544 | agent_name: Agent name |
| 545 | |
| 546 | Returns: |
| 547 | AgentConfig: Agent info or None if not found |
| 548 | """ |
| 549 | return self._agent_configs.get(agent_name) |
| 550 | |
| 551 | async def list(self) -> List[str]: |
| 552 | """Get list of registered agents |
no test coverage detected