From a704744f5c8ea5b0e97acd6d497b48a724b044ec Mon Sep 17 00:00:00 2001 From: david Date: Fri, 23 Oct 2026 03:34:54 -0300 Subject: changed describe.py a bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot.py') diff --git a/bot.py b/bot.py index 4a13a57..dfa68db 100644 --- a/bot.py +++ b/bot.py @@ -93,7 +93,7 @@ QUIET_COOLDOWN = 600 # seconds of silence before she's allowed to send a random MEDIA_MIMES = ("image/png", "image/jpeg", "image/webp", "image/heic", "image/heif", "audio/", "video/", "application/pdf", "text/plain") # what gemini can actually read MEDIA_MAX_BYTES = 10 * 1024 * 1024 # total per message, gemini caps inline request size (~20mb and base64 adds a third) -MEDIA_SAVE_MAX_BYTES = 8 * 1024 * 1024 # per file we keep, stays under discord's 10mb upload limit so she can send it back +MEDIA_SAVE_MAX_BYTES = 19 * 1024 * 1024 # per file we keep, stays under discord's 10mb upload limit so she can send it back def log_error(text: str): with ERROR_FILE.open("a", encoding="utf-8") as f: -- cgit v1.3-2-g0d8e