mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +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 {
|
||||
all: Object.entries(ZenModel.list())
|
||||
.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))
|
||||
.map(([id, model]) => ({ id, name: model.name })),
|
||||
disabled: await Model.listDisabled(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue