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.
This commit is contained in:
Hz_
2026-07-20 15:54:55 +08:00
committed by GitHub
parent 64541048c8
commit e87008e26c
10 changed files with 563 additions and 147 deletions
+4 -1
View File
@@ -18,7 +18,10 @@
"max_tokens": 995904,
"model_types": [
"chat"
]
],
"tools": {
"support": true
}
},
{
"name": "text-embedding-v4",