 
|
fcf917df6d
|
Feat(dashscope): add image generation support for qwen-image-2.0 and qwen-image-2.0-pro (#25672)
* feat: add dashscope/qwen-image-2.0 and qwen-image-2.0-pro to model cost map
* feat: implement DashScope image generation transformation class
* feat: register DashScope in ProviderConfigManager for image generation
* feat: add DashScope to image generation provider routing
* feat: auto-route qwen-image /chat/completions requests to /images/generations
* test: add unit tests for DashScope image generation (22 cases)
* refactor: remove proxy-layer qwen-image auto-routing
* feat: auto-redirect image_generation models in acompletion()
* test: add acompletion auto-redirect test for image_generation models
* fix: remove unused Union import in DashScope transformation
* fix: scope acompletion redirect to dashscope and narrow exception handler
* fix: move get_str_from_messages to module-level import and forward n param to aimage_generation
* refactor: remove acompletion image_generation auto-redirect for dashscope
* test: remove acompletion auto-redirect test for dashscope image models
---------
Co-authored-by: zark.lin <zark.lin@thinkchina.com>
|
2026-04-22 20:03:46 -07:00 |
|