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

Method get_info

src/environment/context.py:605–614  ·  view source on GitHub ↗

Get environment configuration by name Args: env_name: Environment name Returns: EnvironmentConfig: Environment configuration or None if not found

(self, env_name: str)

Source from the content-addressed store, hash-verified

603 return None
604
605 async def get_info(self, env_name: str) -> Optional[EnvironmentConfig]:
606 """Get environment configuration by name
607
608 Args:
609 env_name: Environment name
610
611 Returns:
612 EnvironmentConfig: Environment configuration or None if not found
613 """
614 return self._environment_configs.get(env_name)
615
616 async def get_state(self, env_name: str, ctx: SessionContext = None, **kwargs) -> Optional[Dict[str, Any]]:
617 """Get the state of an environment

Callers 1

save_contractMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected