wewrite/dist
wangzhuc eb3115d537 fix: improve GeminiProvider — size hint, API key in header, error handling
- Append size instruction to prompt (Gemini has no native size param)
- Move API key from URL query string to x-goog-api-key header
- Check status_code before parsing JSON to handle non-JSON error responses
- Remove unnecessary Session with trust_env=False
- Remove f-prefix from strings with no interpolation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 13:13:22 +08:00
..
openclaw fix: improve GeminiProvider — size hint, API key in header, error handling 2026-04-01 13:13:22 +08:00