louisdewar / doxa

The OLD version of DOXA (for the new version see https://doxaai.com) A customisable platform for creating fully automated AI 🧠 competitions.
https://doxa.uclaisociety.co.uk
14 stars 2 forks source link

Include TTL for rate limit errors in response #56

Closed louisdewar closed 2 years ago

louisdewar commented 2 years ago

This will require adapting the doxa error trait to allow extra fields. Also the lua code may not accurately get the real TTL as it stops as soon as it finds the first limiter that has exceeded the limits so that may need to be improved