MCPcopy Create free account
hub / github.com/Tencent/digitalhuman / load_environment

Function load_environment

HATE/basic_hate/agentverse/initialization.py:59–61  ·  view source on GitHub ↗
(env_config: Dict)

Source from the content-addressed store, hash-verified

57
58
59def load_environment(env_config: Dict) -> BaseEnvironment:
60 env_type = env_config.pop("env_type", "basic")
61 return env_registry.build(env_type, **env_config)
62
63
64def load_agent(agent_config: Dict) -> BaseAgent:

Callers 3

from_taskMethod · 0.90
from_taskMethod · 0.90
from_taskMethod · 0.90

Calls 2

buildMethod · 0.80
popMethod · 0.45

Tested by

no test coverage detected