mirror of
https://git.squeakyrat.moe/faggot-chan/
synced 2026-11-05 02:45:45 +01:00
changed describe.py a bit
This commit is contained in:
1 parent
dc06343909
commit
a704744f5c
2 files changed
+55
-8
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user