zakerytclarke commited on
Commit
1d6f60d
·
verified ·
1 Parent(s): a00f1af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- await thread.send("Context:\n"+discord.utils.escape_markdown(response[0:2000]))
 
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