Skip to content

Commit 1dabac2

Browse files
daniel-lxshannesrudolph
authored andcommitted
feat: update OpenRouter API to support input/output modalities and filter image generation models (#7492)
1 parent 09d8ff7 commit 1dabac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web-roo-code/src/lib/hooks/use-open-router-models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const getOpenRouterModels = async (): Promise<OpenRouterModelRecord> => {
4949

5050
return result.data.data
5151
.filter((rawModel) => {
52-
// Skip image generation models (models that output images).
52+
// Skip image generation models (models that output images)
5353
return !rawModel.architecture?.output_modalities?.includes("image")
5454
})
5555
.sort((a, b) => a.name.localeCompare(b.name))

0 commit comments

Comments
 (0)