Resolve the selected deployment, defaulting to the packaged OpenRouter config.
(value: str | None)
| 12 | |
| 13 | |
| 14 | def _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 | |
| 22 | def cmd_launch_claude(args: argparse.Namespace) -> None: |
no outgoing calls