解决办法如下:

来看看这个 opencode-anthropic-auth 1.9 日改了什么?

claude 请求入参修改:

  1. 请求增加了 user-agent 判断(属于是 server 判断的常用手段)
  2. 修改了 TOOL_PREFIX(A 社这波属于是硬编码了)
  3. url query 增加了 beta=true

返回结果:

  1. 重新修改 tool name

题外话: VVCode 也及时做了适配


📌 转载信息
原作者:
allen_zhang
转载时间:
2026/1/11 08:41:40

标签: Claude, OpenCode, API限制, Anthropic, 技术适配

添加新评论