DECADE (@decade666) 在 【求助】Claude code中GLM-5调用tool报400错误 中发帖
用的京东云的Coding Plan Lite,GLM-5可以使用,但是只要用到tool就报错中断,只调用cc内置的tool都会报错,用CC Switch切到Claude或者GPT都是能正常调用的。
⎿ API Error: 400 {"error":{"cause":"","code":400,"message":"{\"code\":400,\"message\":\"51 validation errors:\\n {'type': 'string_type', 'loc': ('body', 'messages', 3, 'ChatCompletionMessageGenericParam', 'content', 'str'),
'msg': 'Input should be a valid string', 'input': [{'tool_name...