fix: remove irrelevant text-model fields from non-text providers

Remove contextWindow: 0 and maxOutputTokens: 0 from non-text models
(tts, asr, image_gen, video_gen, voice_clone, translation, etc.) and
maxOutputTokens: 0 from embedding/rerank models across kling,
local-whisper, stability, openai, dashscope, google, volcengine,
and zhipu-embedding configs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-24 19:53:57 +08:00
parent 7159e1cf59
commit cc2fb7b9a5
8 changed files with 256 additions and 111 deletions

View File

@@ -18,14 +18,11 @@
"displayName": "Stable Diffusion 3.5 Large",
"serviceType": ["image_gen"],
"description": "Stability AI 旗舰文生图模型",
"contextWindow": 0,
"maxOutputTokens": 0,
"capabilities": [
"image_generation",
"high_quality",
"controllable"
],
"defaultTemperature": 1,
"extra": {
"supportedImageSizes": [
"1024x1024",