(modelId: string)
| 89 | }; |
| 90 | |
| 91 | export function resolveChatModel(modelId: string): ResolvedModel { |
| 92 | const model = findSupportedChatModel(modelId); |
| 93 | if (!model) { |
| 94 | throw new Error(`Unsupported model: ${modelId}`); |
| 95 | } |
| 96 | |
| 97 | return resolveSupportedChatModel(model); |
| 98 | }; |
no test coverage detected