📌 📄 内容摘要:
半勺 (@brilliant) 在 vercel AI Gateway思考模型正确配置方法 中发帖
在cherry中调用vercel AI Gateway的gpt-5.1-thinking或者是claude4.5思考模型直接添加key与value值(budgetTokens或者是reasoningEffort)是不起作用了,查阅了官方调用说明,发现需要通过参数providerOptions来传递
所以对于gpt类模型需要使用:
[image]
providerOptions
json
{ “openai”: { “reasoningEffort”: “medium” }}
来传递参数
对于claude模型需要使用:
[image]
providerOptions
json
{ “anthropic”: { “thinking”: { “type”: “enabled”, “budgetTokens”: 4096 } }...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1188154/1
─────────────────────────────
📢 来源:LINUX DO