mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
Remove commented out history fetch operation
This commit is contained in:
@@ -64,8 +64,6 @@ async def generate_answer(question: str, messages: list, conversation_id: str |
|
|||||||
async def message_docs(message, say):
|
async def message_docs(message, say):
|
||||||
client = app.client
|
client = app.client
|
||||||
channel = message['channel']
|
channel = message['channel']
|
||||||
# history = await client.conversations_history(channel=message['client_msg_id'])
|
|
||||||
# print(history)
|
|
||||||
thread_ts = message['thread_ts']
|
thread_ts = message['thread_ts']
|
||||||
user_query = message['text']
|
user_query = message['text']
|
||||||
await client.assistant_threads_setStatus(
|
await client.assistant_threads_setStatus(
|
||||||
|
|||||||
Reference in New Issue
Block a user