This commit is contained in:
Frank 2026-05-06 15:20:36 -04:00
parent bf979413f9
commit e41843eaf7
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,7 @@ const getModelsInfo = query(async (workspaceID: string) => {
all: Object.entries(ZenData.list("full").models)
.filter(([id, _model]) => !["claude-3-5-haiku"].includes(id))
.filter(([id, _model]) => !id.startsWith("alpha-"))
.filter(([id, _model]) => !id.endsWith(":global"))
.sort(([idA, modelA], [idB, modelB]) => {
const priority = ["big-pickle", "minimax", "grok", "claude", "gpt", "gemini"]
const getPriority = (id: string) => {

View file

@ -28,7 +28,9 @@ export async function GET(input: APIEvent) {
)
})()
const models = Object.keys(ZenData.list("full").models).filter((id) => !disabledModels.includes(id))
const models = Object.keys(ZenData.list("full").models)
.filter((id) => !id.endsWith(":global"))
.filter((id) => !disabledModels.includes(id))
return buildModelsResponse(models)
}