config: deepseek-v4.1-flash 标注 vision(实测确认为多模态)

- 实测:带图请求(data:image/png;base64)红/蓝/绿三色全部识别正确;
  同请求打到纯文本模型 deepseek-v4-flash 被上游 400 拒(对照组成立)
- 过网关复测:直连 + 路由别名 wjd(带图排视觉模型)均正确
- gateway.yaml 加 vision: true(附实测注释);README 模型清单标「(视觉)」
- 纯配置 → hot_reload 生效,未重启后端;/v1/models 中 vision 已由 false → true
- 判定坑:推理模型 max_tokens 太小会被 reasoning_content 吃空 content,需 ≥300
This commit is contained in:
api-gateway committed 2026-09-18 12:21:36 +08:00
1 parent 4507dc4b8e
commit 17a3282574
3 files changed
+30 -2

No files matched your search

+2
View File
@@ -110,6 +110,8 @@ providers:
- id: "deepseek-v4.1-flash"
display_name: "DeepSeek V4.1 Flash"
type: "text"
vision: true # 2026-09-18 实测确认多模态:data:image/png;base64 红/蓝/绿三色均识别正确;
# 同一带图请求打到纯文本模型 deepseek-v4-flash 会被上游 400 拒(对照有效)。
- id: "deepseek-v4-flash-vision-exp"
display_name: "DeepSeek V4 Flash Vision Exp"
type: "text"