Work ongoing.

This commit is contained in:
2024-11-14 23:13:18 +01:00
parent be3f639573
commit 5a74e813eb
2 changed files with 12 additions and 1 deletions
+5 -1
View File
@@ -339,7 +339,11 @@ async def hammer_assitant_chat(message):
logger.info(messsages)
reply_content = messsages.data[0].content
logger.info(reply_content)
logger.info(reply_content.text.value)
chat_response = ""
for block in reply_content:
logger.info(block.text.value)
chat_response += block.text.value
await message.channel.send(chat_response)
done = True
elif run.status =='cancelled':
await message.channel.send("Cos sie wywaliło")