mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
fix: sort models
This commit is contained in:
parent
43a7c1dd8c
commit
629f475f63
1 changed files with 1 additions and 0 deletions
|
|
@ -651,6 +651,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
items={models}
|
||||
current={local.model.current()}
|
||||
filterKeys={["provider.name", "name", "id"]}
|
||||
sortBy={(a, b) => a.name.localeCompare(b.name)}
|
||||
// groupBy={(x) => (local.model.recent().includes(x) ? "Recent" : x.provider.name)}
|
||||
groupBy={(x) => x.provider.name}
|
||||
sortGroupsBy={(a, b) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue