fix(vision): respect tool.vision.model and add automatic fallback #2792

This commit is contained in:
zhayujie
2026-05-03 22:28:32 +08:00
parent 67bd3420ed
commit 80e9062041
2 changed files with 237 additions and 46 deletions

View File

@@ -47,6 +47,8 @@ Vision 工具采用多级自动选择 + 自动兜底策略,无需手动配置
}
```
指定的模型会被**优先使用**,工具会根据模型名自动路由到对应的 provider若调用失败会自动 fallback 到其他已配置的 provider。
大多数情况下无需配置,主模型支持多模态或配置任意一个支持视觉的 API Key 即可自动工作。
## 参数