Option 1: Native integration (recommended):Documentation Index
Fetch the complete documentation index at: https://docs.cowagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
model | Default recommendation: ernie-5.0; also supports ernie-x1.1, ernie-4.5-turbo-128k, ernie-4.5-turbo-32k |
qianfan_api_key | Qianfan API key, usually starting with bce-v3/ |
qianfan_api_base | Optional, defaults to https://qianfan.baidubce.com/v2 |
Model Selection
| Model | Use Case |
|---|---|
ernie-5.0 | Default recommendation; latest ERNIE flagship with the strongest overall capability |
ernie-x1.1 | Deep-thinking reasoning model with lower hallucination and stronger instruction following / tool calling |
ernie-4.5-turbo-128k | Long-context and general chat |
ernie-4.5-turbo-32k | General chat with a balanced context window and cost |
Vision tool
Onceqianfan_api_key is configured, Agent mode can auto-discover Qianfan for the Vision tool:
- When the main model itself is multimodal (e.g.
ernie-5.0,ernie-x1.1,ernie-4.5-turbo-vl), images are handled directly by the main model with no extra setup. - When the main model is text-only (e.g.
ernie-4.5-turbo-128k), the Vision tool automatically falls back toernie-4.5-turbo-vl.
config.json:
