(modelId: string)
| 155 | } |
| 156 | |
| 157 | function resolveBaseModel(modelId: string): string | undefined { |
| 158 | return baseModelCandidates(modelId).find(canonicalExists); |
| 159 | } |
| 160 | |
| 161 | // existsSync is case-insensitive on Windows/macOS; verify the real on-disk filename case |
| 162 | // so the resolved base_model matches the canonical metadata exactly (and CI on Linux). |
no test coverage detected