tool type 'custom' is not supported by this gateway phase.
错误信息
tool type 'custom' is not supported by this gateway phase.
AI 解决方案
报错分析
1. 🌐 错误翻译
原文:tool type 'custom' is not supported by this gateway phase.
译文:此网关阶段不支持 'custom' 类型的工具。
2. 🎯 原因分析
3. 💡 解决方案
检查并修改请求中的工具类型配置,替换为网关支持的合法工具类型。参考DMXAPI文档,使用已支持的工具类型(如通用的内置工具类型)。
// 示例:将不支持的custom工具类型替换为网关支持的内置工具类型(如search)
{
"tool_type": "search" // 替换原"custom",需以实际网关支持的类型为准
}