StampyAI / stampy

A Discord bot for the Robert Miles AI server
37 stars 9 forks source link

Stampy has no limit on how much data can be returned #250

Closed ProducerMatt closed 1 year ago

ProducerMatt commented 1 year ago

Someone in the Discord asked the GPT-4 module to print 4 billion digits of Pi, which it did. This had the side effect of rendering inaccessible all messages from that channel older than the Pi-tastrophe. Maybe if a module wants to output more than, say, 4096 (2^12) characters it should be saved to a file and a link to the file can be posted? The directory could be periodically scrubbed of old responses.

plexish commented 1 year ago

I suspect this was the Wolfram module?

ProducerMatt commented 1 year ago

Proposed fix: https://github.com/StampyAI/stampy/pull/251