(model_identifier: str | None, config: AppConfig)
| 227 | |
| 228 | |
| 229 | def _resolve_model_spec(model_identifier: str | None, config: AppConfig) -> ModelSpec: |
| 230 | candidate = (model_identifier or config.llm.default_model or "").strip() |
| 231 | if not candidate: |
| 232 | raise ValueError( |
| 233 | "No model configured. Pass --model explicitly or set llm.default_model in configs/config.yml." |
| 234 | ) |
| 235 | return resolve_model(candidate, default_provider=config.llm.default_provider) |
| 236 | |
| 237 | |
| 238 | def _format_benchmark_row(name: str, *, target: str = "", category: str = "", difficulty: str = "") -> str: |
no test coverage detected