mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-08 12:20:20 +08:00
feat: add qwen3.5-plus vision model support (#706)
Add qwen3.5-plus to SiliconFlow and ModelScope suggested models. Mark qwen3.5-plus as a vision-capable model in supportsImageInput check. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+6
-1
@@ -1217,7 +1217,12 @@ export function supportsImageInput(modelId: string): boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Qwen text models (not vision variants like qwen-vl)
|
// Qwen text models (not vision variants like qwen-vl)
|
||||||
if (lowerModelId.includes("qwen") && !hasVisionIndicator) {
|
// qwen3.5-plus is a vision model
|
||||||
|
if (
|
||||||
|
lowerModelId.includes("qwen") &&
|
||||||
|
!hasVisionIndicator &&
|
||||||
|
!lowerModelId.includes("qwen3.5-plus")
|
||||||
|
) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -264,6 +264,7 @@ export const SUGGESTED_MODELS: Partial<Record<ProviderName, string[]>> = {
|
|||||||
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
"Qwen/Qwen2.5-Coder-32B-Instruct",
|
||||||
"Qwen/Qwen2.5-7B-Instruct",
|
"Qwen/Qwen2.5-7B-Instruct",
|
||||||
"Qwen/Qwen2-VL-72B-Instruct",
|
"Qwen/Qwen2-VL-72B-Instruct",
|
||||||
|
"qwen3.5-plus",
|
||||||
],
|
],
|
||||||
sglang: [
|
sglang: [
|
||||||
// SGLang is OpenAI-compatible, models depend on deployment
|
// SGLang is OpenAI-compatible, models depend on deployment
|
||||||
@@ -293,6 +294,7 @@ export const SUGGESTED_MODELS: Partial<Record<ProviderName, string[]>> = {
|
|||||||
"Qwen/Qwen3-235B-A22B-Instruct-2507",
|
"Qwen/Qwen3-235B-A22B-Instruct-2507",
|
||||||
"Qwen/Qwen3-VL-235B-A22B-Instruct",
|
"Qwen/Qwen3-VL-235B-A22B-Instruct",
|
||||||
"Qwen/Qwen3-32B",
|
"Qwen/Qwen3-32B",
|
||||||
|
"qwen3.5-plus",
|
||||||
// DeepSeek
|
// DeepSeek
|
||||||
"deepseek-ai/DeepSeek-R1-0528",
|
"deepseek-ai/DeepSeek-R1-0528",
|
||||||
"deepseek-ai/DeepSeek-V3.2",
|
"deepseek-ai/DeepSeek-V3.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user