wewrite/toolkit
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
..
themes 排版引擎大升级:CJK修复 + 外链脚注 + 暗黑模式 + 容器语法 + 16主题 + 画廊UI 2026-03-28 22:53:28 +08:00
cli.py feat(learn-theme): add CLI with argparse and terminal report 2026-04-01 12:37:47 +08:00
converter.py 排版引擎大升级:CJK修复 + 外链脚注 + 暗黑模式 + 容器语法 + 16主题 + 画廊UI 2026-03-28 22:53:28 +08:00
image_gen.py fix: improve GeminiProvider — size hint, API key in header, error handling 2026-04-01 13:13:22 +08:00
publisher.py fix: force UTF-8 encoding for WeChat draft/get response 2026-03-31 16:20:17 +08:00
theme.py Rename media-agent → WeWrite 2026-03-26 22:18:38 +08:00
wechat_api.py Initial release — 公众号文章全流程 AI Skill 2026-03-26 22:16:18 +08:00