Skip to content

Commit b96988a

Browse files
Dell model capability patch (#4719)
1 parent f910609 commit b96988a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/utils/helpers/customModels.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,9 @@ async function getDellProAiStudioModels(basePath = null) {
713713
.then((results) => results.data)
714714
.then((models) => {
715715
return models
716-
.filter((model) => model.capability === "TextToText") // Only include text-to-text models for this handler
716+
.filter(
717+
(model) => model?.capability?.includes("TextToText") // Only include text-to-text models for this handler
718+
)
717719
.map((model) => {
718720
return {
719721
id: model.id,

0 commit comments

Comments
 (0)