Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,8 @@ async def on_reaction_add(reaction, user):
|
|
| 111 |
thread = await message.create_thread(name=f"Debug Thread: '{cleaned_message[0:30]}...'", auto_archive_duration=60)
|
| 112 |
|
| 113 |
response = await debug_teapot_inference(server_name, user_input)
|
| 114 |
-
|
|
|
|
| 115 |
|
| 116 |
|
| 117 |
|
|
|
|
| 111 |
thread = await message.create_thread(name=f"Debug Thread: '{cleaned_message[0:30]}...'", auto_archive_duration=60)
|
| 112 |
|
| 113 |
response = await debug_teapot_inference(server_name, user_input)
|
| 114 |
+
debug_response = "Context:\n"+discord.utils.escape_markdown(response)
|
| 115 |
+
await thread.send(debug_response[-2000:])
|
| 116 |
|
| 117 |
|
| 118 |
|