mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
wip: zen
This commit is contained in:
parent
b3fcc9a81d
commit
7fa9a73bf0
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ const getModelsInfo = query(async (workspaceID: string) => {
|
||||||
return {
|
return {
|
||||||
all: Object.entries(ZenModel.list())
|
all: Object.entries(ZenModel.list())
|
||||||
.filter(([id, _model]) => !["claude-3-5-haiku", "qwen3-max"].includes(id))
|
.filter(([id, _model]) => !["claude-3-5-haiku", "qwen3-max"].includes(id))
|
||||||
|
.filter(([id, _model]) => !id.startsWith("an-"))
|
||||||
.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(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue