MCPcopy
hub / github.com/IPADS-SAI/MobiAgent / _load_config

Method _load_config

MobiFlow/universal_test_runner.py:111–117  ·  view source on GitHub ↗

加载配置文件

(self)

Source from the content-addressed store, hash-verified

109 print(f"详细结果: {self.detailed_file}")
110
111 def _load_config(self) -> Dict[str, Any]:
112 """加载配置文件"""
113 try:
114 with open(self.config_file, 'r', encoding='utf-8') as f:
115 return json.load(f)
116 except Exception as e:
117 raise RuntimeError(f"无法加载配置文件 {self.config_file}: {str(e)}")
118
119 def _create_verifier_options(self) -> VerifierOptions:
120 """创建验证选项"""

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected