|
@@ -22,8 +22,8 @@ const getModelsInfo = query(async (workspaceID: string) => {
|
|
|
return withActor(async () => {
|
|
return withActor(async () => {
|
|
|
return {
|
|
return {
|
|
|
all: Object.entries(ZenData.list().models)
|
|
all: Object.entries(ZenData.list().models)
|
|
|
- .filter(([id, _model]) => !["claude-3-5-haiku", "minimax-m2"].includes(id))
|
|
|
|
|
- .filter(([id, _model]) => !id.startsWith("an-"))
|
|
|
|
|
|
|
+ .filter(([id, _model]) => !["claude-3-5-haiku"].includes(id))
|
|
|
|
|
+ .filter(([id, _model]) => !id.startsWith("alpha-"))
|
|
|
.sort(([_idA, modelA], [_idB, modelB]) => modelA.name.localeCompare(modelB.name))
|
|
.sort(([_idA, modelA], [_idB, modelB]) => modelA.name.localeCompare(modelB.name))
|
|
|
.map(([id, model]) => ({ id, name: model.name })),
|
|
.map(([id, model]) => ({ id, name: model.name })),
|
|
|
disabled: await Model.listDisabled(),
|
|
disabled: await Model.listDisabled(),
|