Files
pi/packages/ai/test
T
Mario Zechner e1ce9c1f49 Fix image limits test to use realistic payload sizes
Previous test used compressed 8k images (0.01MB) which was meaningless.
Now tests with actual large noise images that don't compress.

Realistic payload limits discovered:
- Anthropic: 6 x 3MB = ~18MB total (not 32MB as documented)
- OpenAI: 2 x 15MB = ~30MB total
- Gemini: 10 x 20MB = ~200MB total (very permissive)
- Mistral: 4 x 10MB = ~40MB total
- xAI: 1 x 20MB (strict request size limit)
- Groq: 5 x 5760px images (5 image + pixel limit)
- zAI: 2 x 15MB = ~30MB (50MB request limit)
- OpenRouter: 2 x 5MB = ~10MB total

Also fixed GEMINI_API_KEY env var (was GOOGLE_API_KEY).

Related to #120
e1ce9c1f49 ยท 2025-12-16 23:48:59 +01:00
History
..
2025-12-10 20:36:19 +01:00
2025-12-10 20:36:19 +01:00
2025-12-10 20:36:19 +01:00
2025-12-10 20:36:19 +01:00
2025-12-10 20:36:19 +01:00
2025-12-10 20:36:19 +01:00