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

Function load_config

examples/06_tool_schema_demo.py:17–21  ·  view source on GitHub ↗

Load config from config.yaml.

()

Source from the content-addressed store, hash-verified

15
16
17def load_config():
18 """Load config from config.yaml."""
19 config_path = Path("mini_agent/config/config.yaml")
20 with open(config_path, encoding="utf-8") as f:
21 return yaml.safe_load(f)
22
23
24class WeatherTool(Tool):

Callers 2

demo_tool_schemasFunction · 0.70
demo_multiple_toolsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected