Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ async def on_message(message):
|
|
142 |
response, debug_info = handle_chat(message.content.replace("<debug>","").replace("</debug>",""))
|
143 |
|
144 |
print(response)
|
145 |
-
sent_message = await message.reply
|
146 |
|
147 |
# Create a thread from the sent message
|
148 |
if is_debug:
|
|
|
142 |
response, debug_info = handle_chat(message.content.replace("<debug>","").replace("</debug>",""))
|
143 |
|
144 |
print(response)
|
145 |
+
sent_message = await message.reply(response)
|
146 |
|
147 |
# Create a thread from the sent message
|
148 |
if is_debug:
|