status_code=400, The value of 'tools' is not accepted by claude-fable-5.1 on the...
错误信息
status_code=400, The value of 'tools' is not accepted by claude-fable-5.1 on the routes that remain. Change or remove it and retry. (request id: 20261008004302871925853BE1AEFBh)
AI 解决方案
原文:The value of 'tools' is not accepted by claude-fable-5.1 on the routes that remain. Change or remove it and retry.
译文:在剩余的路由中,claude-fable-5.1不接受'tools'的值。请更改或移除它,然后重试。
🎯 原因分析
tools参数,该参数值不符合claude-fable-5.1的要求tools字段未被当前可用路由所兼容💡 解决方案
移除请求中的
tools参数,或更换为当前路由支持的参数:// 修复后:移除不被支持的 tools 参数
const requestBody = {
model: "claude-fable-5.1",
messages: [
{ role: "user", content: "Hello" }
]
// tools 参数已被移除
};