MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / get_info

Method get_info

src/agent/context.py:540–549  ·  view source on GitHub ↗

Get agent info by name Args: agent_name: Agent name Returns: AgentConfig: Agent info or None if not found

(self, agent_name: str)

Source from the content-addressed store, hash-verified

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

Callers 3

save_contractMethod · 0.95
get_variablesMethod · 0.95
__call__Method · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected