docs: document qianfan vision support

This commit is contained in:
jimmyzhuu
2026-05-06 13:28:46 +08:00
parent fccb7ff9ed
commit 76e6b7b471
8 changed files with 63 additions and 5 deletions

View File

@@ -28,6 +28,20 @@ Option 1: Native integration (recommended):
| `ernie-4.5-turbo-32k` | General chat with a balanced context window and cost |
| `ernie-x1-turbo-32k` | Tasks that need stronger reasoning |
## Vision tool
After `qianfan_api_key` is configured, Agent mode can auto-discover Qianfan for the Vision tool. The recommended Qianfan vision model is `ernie-4.5-turbo-vl-preview`:
```json
{
"tool": {
"vision": {
"model": "ernie-4.5-turbo-vl-preview"
}
}
}
```
Option 2: OpenAI-compatible configuration:
```json

View File

@@ -23,6 +23,7 @@ If the current provider fails, the tool automatically tries the next one until i
| Vendor | Vision Model | Notes |
| --- | --- | --- |
| OpenAI / Compatible | Main model | All OpenAI-compatible multimodal models |
| Baidu Qianfan | ernie-4.5-turbo-vl-preview | Auto-discovered when `qianfan_api_key` is configured; can also be selected via `tool.vision.model` |
| Qwen (DashScope) | Main model | Via MultiModalConversation API |
| Claude | Main model | Anthropic native image format |
| Gemini | Main model | inlineData format |
@@ -52,7 +53,7 @@ To specify a particular model for the vision tool, add to `config.json`:
{
"tool": {
"vision": {
"model": "gpt-4o"
"model": "ernie-4.5-turbo-vl-preview"
}
}
}