refactor(image): reuse the model picker

This commit is contained in:
Xubin Ren
2026-07-23 12:42:24 +08:00
parent 8bd951a06f
commit 2f4f00bb9f
4 changed files with 66 additions and 149 deletions
+1
View File
@@ -1799,6 +1799,7 @@ class ModelScopeImageGenerationClient(ImageGenerationProvider):
"""
provider_name = "modelscope"
model_options = ("Qwen/Qwen-Image-2512",)
missing_key_message = (
"ModelScope API key is not configured. Set providers.modelscope.apiKey."
)