From 01268a37e35a113db9bd8a57c21c6e401e3d3f25 Mon Sep 17 00:00:00 2001 From: Mousumi Pal Date: Mon, 21 Oct 2024 16:49:01 +0530 Subject: [PATCH] Remove commented out history fetch operation --- extensions/slack-bot/app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/extensions/slack-bot/app.py b/extensions/slack-bot/app.py index f618e1a2..c29205db 100644 --- a/extensions/slack-bot/app.py +++ b/extensions/slack-bot/app.py @@ -64,8 +64,6 @@ async def generate_answer(question: str, messages: list, conversation_id: str | async def message_docs(message, say): client = app.client channel = message['channel'] - # history = await client.conversations_history(channel=message['client_msg_id']) - # print(history) thread_ts = message['thread_ts'] user_query = message['text'] await client.assistant_threads_setStatus(