Files
ragflow/conf/models/aliyun.json
Hz_ e87008e26c fix(go-agent): support Aliyun tool calls (#17099)
## Summary

  - Enable synchronous and streaming tool calls for Aliyun models.
- Preserve provider-specific chat endpoints and prevent repeated
qwen-flash tool calls.
  - Restrict retrieval tool inputs to model-provided query parameters.

  ## Testing

- `bash build.sh --test ./internal/entity/models
./internal/agent/component ./internal/agent/tool`
  - Manual frontend UI testing passed.
2026-07-20 15:54:55 +08:00

82 lines
1.5 KiB
JSON

{
"name": "Tongyi-Qianwen",
"rank": 983,
"url": {
"default": "https://dashscope.aliyuncs.com",
"singapore": "https://dashscope-intl.aliyuncs.com",
"us": "https://dashscope-us.aliyuncs.com"
},
"url_suffix": {
"chat": "compatible-mode/v1/chat/completions",
"embedding": "compatible-mode/v1/embeddings",
"rerank": "compatible-api/v1/reranks",
"models": "api/v1/deployments/models"
},
"models": [
{
"name": "qwen-flash",
"max_tokens": 995904,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "text-embedding-v4",
"max_tokens": 8192,
"model_types": [
"embedding"
]
},
{
"name": "qwen3-vl-plus",
"max_tokens": 260096,
"model_types": [
"vision"
]
},
{
"name": "qwen-tts-flash",
"model_types": [
"tts"
]
},
{
"name": "qwen-asr-flash",
"model_types": [
"asr"
]
},
{
"name": "fun-asr",
"model_types": [
"asr"
]
},
{
"name": "text-embedding-v3",
"max_tokens": 8192,
"model_types": [
"embedding"
]
},
{
"name": "qwen3-rerank",
"max_tokens": 8192,
"model_types": [
"rerank"
]
}
],
"features": {
"thinking": {
"default_value": true,
"supported_models": [
"qwen-flash"
]
}
}
}