chore: generate

This commit is contained in:
opencode-agent[bot] 2026-07-03 08:11:01 +00:00
commit 30936a9bca

View file

@ -245,9 +245,7 @@ export function ModelSelectorPopoverV2(props: {
const models = createMemo(() => {
const search = store.search.trim()
const filtered = search
? allModels().filter(
(item) => matchesModelSearch(search, [item.name, item.id, item.provider.name]),
)
? allModels().filter((item) => matchesModelSearch(search, [item.name, item.id, item.provider.name]))
: allModels()
return [...filtered].sort((a, b) => a.name.localeCompare(b.name))