diff --git a/web/src/lib/assistants/utils.ts b/web/src/lib/assistants/utils.ts index 40953ee1ad1..214cc2c0f9e 100644 --- a/web/src/lib/assistants/utils.ts +++ b/web/src/lib/assistants/utils.ts @@ -114,11 +114,9 @@ export function getUserCreatedAssistants( user: User | null, assistants: Persona[] ) { - const result = assistants.filter((assistant) => + return assistants.filter((assistant) => checkUserOwnsAssistant(user, assistant) ); - console.log("Output - user created assistants:", result); - return result; } // Filter assistants based on connector status, image compatibility and visibility