fix: sort models
parent
43a7c1dd8c
commit
629f475f63
|
|
@ -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…
Reference in New Issue