MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / _config_path

Function _config_path

switchyard/cli/launch_command.py:14–19  ·  view source on GitHub ↗

Resolve the selected deployment, defaulting to the packaged OpenRouter config.

(value: str | None)

Source from the content-addressed store, hash-verified

12
13
14def _config_path(value: str | None) -> Path:
15 """Resolve the selected deployment, defaulting to the packaged OpenRouter config."""
16 path = Path(value).expanduser() if value else _DEFAULT_CONFIG
17 if not path.is_file():
18 raise SystemExit(f"launch: config file not found: {path}")
19 return path
20
21
22def cmd_launch_claude(args: argparse.Namespace) -> None:

Calls

no outgoing calls