mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-09-19 09:40:49 +08:00
Add the two new OpenAI image models and make gpt-image-2.5-flare the recommended default for OpenAI and LinkAI. - generate.py: list both ids in the provider docstring, promote the `gpt-image-2.5` prefix in _MODEL_PREFERRED_PROVIDER so it keeps routing to OpenAI, and switch OpenAIProvider/LinkAIProvider DEFAULT_MODEL from gpt-image-2 to gpt-image-2.5-flare. - web_channel.py: expose both ids in the OpenAI and LinkAI model lists and update _IMAGE_AUTO_ORDER so the predicted default matches the runtime. - SKILL.md and docs (en/zh/ja): document the new models and the new default. - tests: add regression coverage for prefix routing and the default model. Flare is OpenAI's recommended model for mainstream use (same quality with up to 50% lower latency); Sunburst targets high-precision editing. gpt-image-2 / gpt-image-1 remain fully supported.