We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3053678 commit 0822948Copy full SHA for 0822948
src/api/providers/fetchers/modelCache.ts
@@ -69,7 +69,7 @@ export const getModels = async (options: GetModelsOptions): Promise<ModelRecord>
69
default:
70
// Ensures router is exhaustively checked if RouterName is a strict union
71
const exhaustiveCheck: never = provider
72
- throw new Error(`Unknown router: ${exhaustiveCheck}`)
+ throw new Error(`Unknown provider: ${exhaustiveCheck}`)
73
}
74
75
// Cache the fetched models (even if empty, to signify a successful fetch with no models)
0 commit comments