From f574a4452b8490bafcb1c8d13027e2365217756b Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Sat, 21 Sep 2024 17:57:45 -0700 Subject: [PATCH] remove logs --- backend/danswer/db/persona.py | 3 --- web/src/app/assistants/gallery/AssistantsGallery.tsx | 1 - web/src/app/chat/ChatPage.tsx | 1 - 3 files changed, 5 deletions(-) diff --git a/backend/danswer/db/persona.py b/backend/danswer/db/persona.py index c04b40139b6..36d2d25c402 100644 --- a/backend/danswer/db/persona.py +++ b/backend/danswer/db/persona.py @@ -421,9 +421,6 @@ def upsert_persona( chunks_above: int = CONTEXT_CHUNKS_ABOVE, chunks_below: int = CONTEXT_CHUNKS_BELOW, ) -> Persona: - print("upserting with ") - print(starter_messages) - print("-----\n\n\n") if persona_id is not None: persona = db_session.query(Persona).filter_by(id=persona_id).first() else: diff --git a/web/src/app/assistants/gallery/AssistantsGallery.tsx b/web/src/app/assistants/gallery/AssistantsGallery.tsx index 08fc09b0ca0..8926238b454 100644 --- a/web/src/app/assistants/gallery/AssistantsGallery.tsx +++ b/web/src/app/assistants/gallery/AssistantsGallery.tsx @@ -154,7 +154,6 @@ export function AssistantsGallery({ user, assistants ); - console.log(assistants); const defaultAssistants = assistants .filter((assistant) => assistant.is_default_persona) diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index 8ec6d7e91d7..0d3c0484b79 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -1669,7 +1669,6 @@ export function ChatPage({ mostVisibleMessageId: null, }; - console.log(availableAssistants); useEffect(() => { const includes = checkAnyAssistantHasSearch( messageHistory,