💄 style: add wanxiang2.7 & keling ImageGen from Qwen#13478
💄 style: add wanxiang2.7 & keling ImageGen from Qwen#13478tjx666 merged 3 commits intolobehub:canaryfrom
Conversation
|
@hezhijie0327 is attempting to deploy a commit to the LobeHub OSS Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Sorry @hezhijie0327, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
@arvinxx Could you review this PR? It adds wanxiang2.7 and keling image generation models to the Qwen provider, including a new async image generation endpoint. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## canary #13478 +/- ##
==========================================
+ Coverage 66.50% 66.51% +0.01%
==========================================
Files 1995 1995
Lines 165151 165264 +113
Branches 15938 16726 +788
==========================================
+ Hits 109834 109930 +96
- Misses 55195 55212 +17
Partials 122 122
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Sorry @hezhijie0327, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9126fe0388
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| /^wan2\.(2|5)-t2i-/, | ||
| /^wanx2\.(0|1)-t2i-/, | ||
| /^wanx-v1/, | ||
| /^qwen-image(-plus)?$/, |
There was a problem hiding this comment.
Keep qwen-image models off legacy size-defaulted route
Adding ^qwen-image(-plus)?$ to text2ImageModels routes qwen-image and qwen-image-plus through createLegacySynthesisTask, which injects a default size: '1024*1024' whenever the caller omits size. These two models are declared with constrained size enums in packages/model-bank/src/aiModels/qwen.ts (1664x928, 1472x1140, 1328x1328, 1140x1472, 928x1664), so OpenAI-compatible calls without an explicit size can now send an unsupported size and fail at runtime. Before this commit they used the multimodal path, which did not force this default size.
Useful? React with 👍 / 👎.
5c19eae to
7ffee3d
Compare
9ad2dcd to
ef267ce
Compare
style: add wanxiang2.7 support style: add keling support feat: support new async method feat: support new async method feat: support new async method feat: support new async method
style: add wan2.7 videoGen models style: add wan2.7 videoGen models
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Code review findings after verifying against full source code: Issues1. [high]
Suggestion: move the 2. [medium] Default route changed from sync to async — behavioral change affects existing models Previously, unmatched models defaulted to 3. [low] Error double-wrapping in
4. [low] Redundant
5. [low] Missing
|
|
FYI.
Original ContentFYI.
|
|
❤️ Great PR @hezhijie0327 ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
# 🚀 release: 20260407 This release includes **148 commits**. Key updates are below. - **Response API tool execution is more capable and reliable** — Added hosted builtin tools + client-side function tools and improved tool-call streaming/completion behavior. [#13406](#13406) [#13414](#13414) [#13506](#13506) [#13555](#13555) - **Input and composition UX upgraded** — Added AI input auto-completion and multiple chat-input stability fixes. [#13458](#13458) [#13551](#13551) [#13481](#13481) - **Model/provider compatibility improved** — Better Gemini/Google tool schema handling and additional model updates. [#13429](#13429) [#13465](#13465) [#13613](#13613) - **Desktop and CLI reliability improved** — Gateway WebSocket support and desktop runtime upgrades. [#13608](#13608) [#13550](#13550) [#13557](#13557) - **Security hardening continued** — Fixed auth and sanitization risks and upgraded vulnerable dependencies. [#13535](#13535) [#13529](#13529) [#13479](#13479) ### Models & Providers - Added/updated support for `glm-5v-turbo`, GLM-5.1 updates, and qwen3.5-omni series. [#13487](#13487) [#13405](#13405) [#13422](#13422) - Added additional ImageGen providers/models (Wanxiang 2.7 and Keling from Qwen). [#13478](#13478) - Improved Gemini/Google tool schema and compatibility handling across runtime paths. [#13429](#13429) [#13465](#13465) [#13613](#13613) ### Response API & Runtime - Added hosted builtin tools in Response API and client-side function tool execution support. [#13406](#13406) [#13414](#13414) - Improved stream tool-call argument handling and `response.completed` output correctness. [#13506](#13506) [#13555](#13555) - Improved runtime error/context handling for intervention and provider edge cases. [#13420](#13420) [#13607](#13607) ### Desktop App - Bumped desktop dependencies and runtime integrations (`agent-browser`, `electron`). [#13550](#13550) [#13557](#13557) - Simplified desktop release channel setup by removing nightly release flow. [#13480](#13480) ### CLI - Added OpenClaw migration command. [#13566](#13566) - Added local device binding support for `lh agent run`. [#13277](#13277) - Added WebSocket gateway support and reconnect reliability improvements. [#13608](#13608) [#13418](#13418) ### Security - Removed risky `apiKey` fallback behavior in webapi auth path to prevent bypass risk. [#13535](#13535) - Sanitized HTML artifact rendering and iframe sandboxing to reduce XSS-to-RCE risk. [#13529](#13529) - Upgraded nodemailer to v8 to address SMTP command injection advisory. [#13479](#13479) ### Bug Fixes - Fixed image generation model default switch issues. [#13587](#13587) - Fixed subtopic re-fork message scope behavior and agent panel reset edge cases. [#13606](#13606) [#13556](#13556) - Fixed chat-input freeze on paste and mention plugin behavior. [#13551](#13551) [#13415](#13415) - Fixed auth/social sign-in and settings UX edge cases. [#13368](#13368) [#13392](#13392) [#13338](#13338) ### Credits Huge thanks to these contributors: @chriszf @hardy-one @Innei @lijian @neko @OctopusNote @rdmclin2 @rivertwilight @RylanCai @suyua9 @sxjeru @Tsuki @wangyk @WindSpiritSR @yizhuo @YuTengjing @hezhijie0327 @arvinxx


💻 Change Type
🔗 Related Issue
🔀 Description of Change
wan2.7-imagewan2.7-image-prokling/kling-v3-image-generationkling/kling-v3-omni-image-generationimage-generation/generation目前为新模型默认推荐 (Wan2.6, Wan2.6, Keling, etc)syncOnlyModels模型列表,用于强制切换至同步生图multimodal-generation/generation(qwen-image-edit/max, qwen-image-2.0, z-image-turbo)Note:
kling/kling-v3-image-generationkling/kling-v3-omni-image-generationwan2.7-image🧪 How to Test
📸 Screenshots / Videos
📝 Additional Information