- Resize to 1568px max (Claude's efficient ceiling) via Pillow - Convert PNG screenshots to JPEG q85 (~5MB → ~200KB typical) - Cap at 3 images per message (~4,800 token budget max) - Graceful fallback if Pillow unavailable (Claude auto-resizes) - Add Pillow + libjpeg/zlib deps to requirements + Dockerfile Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 lines
872 B
Plaintext
60 lines
872 B
Plaintext
# FastAPI and server
|
|
fastapi==0.128.5
|
|
uvicorn[standard]==0.40.0
|
|
|
|
# Database
|
|
sqlalchemy==2.0.46
|
|
asyncpg==0.31.0
|
|
psycopg2-binary==2.9.9
|
|
alembic==1.18.3
|
|
|
|
# Authentication
|
|
python-jose[cryptography]==3.5.0
|
|
passlib[bcrypt]==1.7.4
|
|
bcrypt==4.1.2
|
|
python-multipart==0.0.22
|
|
|
|
# Validation and settings
|
|
pydantic==2.12.5
|
|
pydantic-settings==2.12.0
|
|
email-validator==2.1.0
|
|
|
|
# Rate Limiting
|
|
slowapi==0.1.9
|
|
|
|
# Payments
|
|
stripe==14.3.0
|
|
|
|
# Email
|
|
resend==2.21.0
|
|
|
|
# HTTP client (seed scripts, internal API calls)
|
|
httpx>=0.27.0
|
|
|
|
# AI Flow Builder
|
|
anthropic>=0.40.0
|
|
google-genai>=1.0.0
|
|
|
|
# RAG / Embeddings
|
|
pgvector>=0.3.6
|
|
voyageai>=0.3.0
|
|
|
|
# Monitoring
|
|
sentry-sdk[fastapi]>=2.54.0
|
|
|
|
# PDF Export
|
|
weasyprint>=62.0
|
|
jinja2>=3.1.0
|
|
|
|
# Utilities
|
|
python-dotenv==1.0.1
|
|
croniter>=2.0.0
|
|
pytz>=2024.1
|
|
apscheduler>=3.10.4
|
|
|
|
# Object Storage
|
|
boto3>=1.34.0
|
|
|
|
# Image processing (vision upload resize)
|
|
Pillow>=10.0.0
|