MCPcopy
hub / github.com/TencentQQGYLab/AppAgent / load_config

Function load_config

scripts/config.py:5–10  ·  view source on GitHub ↗
(config_path="./config.yaml")

Source from the content-addressed store, hash-verified

3
4
5def load_config(config_path="./config.yaml"):
6 configs = dict(os.environ)
7 with open(config_path, "r") as file:
8 yaml_data = yaml.safe_load(file)
9 configs.update(yaml_data)
10 return configs

Callers 5

and_controller.pyFile · 0.90
task_executor.pyFile · 0.90
step_recorder.pyFile · 0.90
self_explorer.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected