Skip to content

fix: improve MCP tool parameter handling and upgrade agentscope#192

Merged
Thomas-Eliot merged 1 commit intohigress-group:mainfrom
lexburner:fix/gpt-compatible
Mar 20, 2026
Merged

fix: improve MCP tool parameter handling and upgrade agentscope#192
Thomas-Eliot merged 1 commit intohigress-group:mainfrom
lexburner:fix/gpt-compatible

Conversation

@lexburner
Copy link
Contributor

@lexburner lexburner commented Mar 20, 2026

📝 Description

  • 修复 MCP 工具 schema 转换时的 required 参数处理,确保工具调用参数正确传递
  • 修复 DashScope 图像模型客户端构造函数调用,添加缺失的参数以兼容新版本 API
  • 升级 agentscope 版本从 1.0.6 到 1.0.10,修复兼容性问题

🔗 Related Issues

Fix #154

✅ Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change
  • Documentation update
  • Code refactoring
  • Performance improvement

🧪 Testing

  • Code compiles successfully
  • Changes are backwards compatible

📋 Checklist

  • Code has been formatted (mvn spotless:apply for backend, npm run lint:fix for frontend)
  • Code is self-reviewed
  • No breaking changes

- Fix required parameter handling in MCP tool schema conversion
- Fix DashScope image model client constructor compatibility
- Upgrade agentscope from 1.0.6 to 1.0.10

🤖 Generated with [Qoder][https://qoder.com]
@Thomas-Eliot Thomas-Eliot merged commit 39b3a25 into higress-group:main Mar 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: 个别大模型不支持max_tokens和max_completion_tokens同时传参

2 participants