We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f05a1 commit 71c60c5Copy full SHA for 71c60c5
web/src/lib/assistants/utils.ts
@@ -100,11 +100,6 @@ export function orderAssistantsForUser(
100
);
101
102
remainingAssistants.sort((a, b) => {
103
- // First, prioritize default personas
104
- if (a.is_default_persona !== b.is_default_persona) {
105
- return a.is_default_persona ? -1 : 1;
106
- }
107
- // If both are default or both are not default, then sort by display priority
108
const priorityA = a.display_priority ?? Number.MAX_SAFE_INTEGER;
109
const priorityB = b.display_priority ?? Number.MAX_SAFE_INTEGER;
110
return priorityA - priorityB;
0 commit comments