We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38f6b7d + c7d324f commit 7680a1dCopy full SHA for 7680a1d
1 file changed
packages/core/script/generate-vercel.ts
@@ -20,6 +20,7 @@ enum ModelType {
20
Embedding = "embedding",
21
Image = "image",
22
Video = "video",
23
+ Reranking = "reranking",
24
}
25
26
enum SkipZeroFields {
@@ -505,8 +506,12 @@ async function main() {
505
506
let unchanged = 0;
507
508
for (const apiModel of apiModels) {
- // Skip these since OpenCode does not support image / video generation yet
509
- if (apiModel.type === ModelType.Image || apiModel.type === ModelType.Video) {
+ // Skip these since OpenCode does not support image / video / reranking yet
510
+ if (
511
+ apiModel.type === ModelType.Image ||
512
+ apiModel.type === ModelType.Video ||
513
+ apiModel.type === ModelType.Reranking
514
+ ) {
515
continue;
516
517
0 commit comments