fix(vision-v2): P0全部识别失败 - timeout过短+缺response_format #2208
Reference in New Issue
Block a user
Delete Branch "fix/vision-v2-timeout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P0根因
staging实测3图全部返回「未识别/无法判断」,根因:
修复
本地E2E验证(云电脑直连DashScope)
3图(unsplash人像):
立刻合入staging验证。
根因: - _FAST_TIMEOUT/_FAST_JSON_TIMEOUT 设为8s,但qwen3.8-flash关thinking后单图实测8-9s,staging网络稍慢即全部超时 - 超时cancel后走pro兜底,pro timeout=20s也偏紧 - 缺少 response_format=json_object 导致qwen偶发输出中文解释而非JSON 修复: - fast_json: _DEFAULT_TIMEOUT 8→12s - fast_path: _FAST_TIMEOUT/_FAST_JSON_TIMEOUT 8→12s, _PRO_TIMEOUT 20→25s - vlm_fallback: _DEFAULT_TIMEOUT 20→25s - fast_json + fallback 都加 response_format={'type':'json_object'}强约束JSON输出 本地3图E2E: 8.57s, 3/3 fast_json命中, portrait_prompt正常输出一位年轻男性/女性... Refs: staging P0 3/3全返回未识别/无法判断🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2208 已关闭或合并,对应的预览环境已被清理。