co-mono/packages/ai/test
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
2025-12-16 23:48:59 +01:00
..
data feat(ai): Add image input tests for vision-capable models 2025-08-30 18:37:17 +02:00
abort.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
agent.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
context-overflow.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
copilot-initiator.test.ts Add X-Initiator header for GitHub Copilot (#200) 2025-12-16 14:05:22 +01:00
empty.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
google-thought-signature.test.ts Release v0.7.17 2025-11-18 17:49:12 +01:00
handoff.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
image-limits.test.ts Fix image limits test to use realistic payload sizes 2025-12-16 23:48:59 +01:00
image-tool-result.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
mistral-debug.test.ts Fix branch selector for single message and --no-session mode 2025-12-10 22:41:32 +01:00
mistral-empty-assistant.test.ts Fix Mistral 400 errors after aborted assistant messages 2025-12-10 21:13:33 +01:00
mistral-sdk.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
stream.test.ts Read GitHub Copilot token from oauth.json in test 2025-12-15 19:16:08 +01:00
tokens.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
tool-call-without-result.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
tool-validation.test.ts Add image support in tool results across all providers 2025-11-12 10:45:56 +01:00
total-tokens.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
unicode-surrogate.test.ts Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
xhigh.test.ts Add xhigh thinking level for OpenAI codex-max models 2025-12-08 21:12:54 +01:00