Dell model capability patch (#4719)
This commit is contained in:
parent
f910609825
commit
b96988aae9
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user