(cli: string | null | undefined)
| 83 | } |
| 84 | |
| 85 | export function getModelDefinitionsForCli(cli: string | null | undefined): ModelDefinition[] { |
| 86 | if (!cli) { |
| 87 | return MODEL_DEFINITIONS.claude; |
| 88 | } |
| 89 | const normalized = cli.toLowerCase() as CLIKey; |
| 90 | return MODEL_DEFINITIONS[normalized] ?? MODEL_DEFINITIONS.claude; |
| 91 | } |
no outgoing calls
no test coverage detected