feat: change max token handling

This commit is contained in:
2025-11-13 11:51:12 +01:00
parent b7e4c8d6ac
commit e88ac7caff
8 changed files with 255 additions and 91 deletions

View File

@@ -24,7 +24,10 @@ polling:
interval: "5m" # Examples: "30s", "1m", "1h"
processing:
max_email_size_bytes: 102400 # Maximum email body size in bytes (100KB), 0 = no limit
max_tokens: 12000 # Maximum total tokens for API request (system + context + email)
# Recommended: 8000-12000 for most models
# Set to 0 for no limit
# Note: Attachments are automatically stripped before counting
skip_junk_emails: false # Skip emails marked as junk/spam (not yet implemented)
logging: