Skip to content

Commit 0822948

Browse files
Update src/api/providers/fetchers/modelCache.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 3053678 commit 0822948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/fetchers/modelCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const getModels = async (options: GetModelsOptions): Promise<ModelRecord>
6969
default:
7070
// Ensures router is exhaustively checked if RouterName is a strict union
7171
const exhaustiveCheck: never = provider
72-
throw new Error(`Unknown router: ${exhaustiveCheck}`)
72+
throw new Error(`Unknown provider: ${exhaustiveCheck}`)
7373
}
7474

7575
// Cache the fetched models (even if empty, to signify a successful fetch with no models)

0 commit comments

Comments
 (0)