The open source coding agent.
TypeScript
fix: sort models
Adam629f475f633f
diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsxindex 4d4cbf2c5e8..114e6d49dc3 100644--- a/packages/desktop/src/components/prompt-input.tsx+++ b/packages/desktop/src/components/prompt-input.tsx@@ -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) => {