MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / get_template_config

Function get_template_config

tests/tools.py:187–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185
186
187def get_template_config() -> Config:
188 config_path = os.path.join(os.path.dirname(__file__), "template", "config.yaml")
189 config = load_config(config_path)
190 if ray.is_initialized():
191 config.ray_namespace = ray.get_runtime_context().namespace
192 else:
193 config.ray_namespace = "trinity_unittest"
194 return config
195
196
197def get_model_path() -> str:

Callers 15

setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
asyncSetUpMethod · 0.90
test_workflow_runnerMethod · 0.90

Calls 1

load_configFunction · 0.90

Tested by 15

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
asyncSetUpMethod · 0.72
test_workflow_runnerMethod · 0.72