TripSit / TripBot

The discord bot on TripSit.Me
24 stars 12 forks source link

Fix 400 Can't add messages to thread_X while a run run_X is active and more. #879

Closed theimperious1 closed 2 weeks ago

theimperious1 commented 2 weeks ago

Changes:

  1. Added a message queuing system to prevent GPT from simultaneously handling multiple messages by the same person at once, resolving the 400 error.
  2. Updated AI translation GPT to gpt-4o-mini
  3. Replaced some console.logs in d.admin.ts that were causing lint warnings.

Fix #768