MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / load

Method load

mini_agent/config.py:74–79  ·  view source on GitHub ↗

Load configuration from the default search path.

(cls)

Source from the content-addressed store, hash-verified

72
73 @classmethod
74 def load(cls) -> "Config":
75 """Load configuration from the default search path."""
76 config_path = cls.get_default_config_path()
77 if not config_path.exists():
78 raise FileNotFoundError("Configuration file not found. Run scripts/setup-config.sh or place config.yaml in mini_agent/config/.")
79 return cls.from_yaml(config_path)
80
81 @classmethod
82 def from_yaml(cls, config_path: str | Path) -> "Config":

Callers 9

load_mcp_tools_asyncFunction · 0.80
add_vignetteFunction · 0.80
apply_replacementsFunction · 0.80
fill_pdf_fieldsFunction · 0.80
create_validation_imageFunction · 0.80
fill_pdf_formFunction · 0.80
run_acp_serverFunction · 0.80
mcp_configFunction · 0.80

Calls 2

from_yamlMethod · 0.80

Tested by 1

mcp_configFunction · 0.64