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 f910609 commit b96988aCopy full SHA for b96988a
server/utils/helpers/customModels.js
@@ -713,7 +713,9 @@ async function getDellProAiStudioModels(basePath = null) {
713
.then((results) => results.data)
714
.then((models) => {
715
return models
716
- .filter((model) => model.capability === "TextToText") // Only include text-to-text models for this handler
+ .filter(
717
+ (model) => model?.capability?.includes("TextToText") // Only include text-to-text models for this handler
718
+ )
719
.map((model) => {
720
return {
721
id: model.id,
0 commit comments