Dell model capability patch (#4719)

This commit is contained in:
Timothy Carambat 2025-12-05 13:31:15 -08:00 committed by GitHub
parent f910609825
commit b96988aae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -713,7 +713,9 @@ async function getDellProAiStudioModels(basePath = null) {
.then((results) => results.data)
.then((models) => {
return models
.filter((model) => model.capability === "TextToText") // Only include text-to-text models for this handler
.filter(
(model) => model?.capability?.includes("TextToText") // Only include text-to-text models for this handler
)
.map((model) => {
return {
id: model.id,