
10 月 17 日北京 08:55 到 10:00 这六十多分钟里四个仓库都没发新版本,今天能动手的只有三处参数:Claude 协议的工具 schema 里多一个 contentMediaType 就让 Gemini 请求整条 400,给 Opus 4.7/4.8 与 Fable 5/5.1 发数字预算同样被拒,而 Claude 回 429 或 529 时上游的重试头这一版还传不到客户端。
contentMediaType,转发到 Gemini 就整条 4009。contentMediaType 回 400,只删这一个字段就回 2009。Unknown name "contentMediaType" ... Cannot find field。function_declarations[61] 的 parameters.properties[2].value.any_of[1],同批还有 function_declarations[106] 的第 3 个属性9。contentMediaType 与 contentEncoding 两个都没进去。
internal/util/gemini_schema.go:第 1507 行起的 removeUnsupportedKeywords,第 1509–1515 行是要删的关键字全表,$comment、enumDescriptions、discriminator、contentSchema 都在,没有 contentMediaType12contentMediaType 在表内,于是这一层认定它无害,清洗照常放行。responses_tools.go 第 496 与 517 行清16。contentMediaType 去掉。报障人验证过,删掉即 2009。budget_tokens10。claude-opus-4-7、claude-opus-4-8、claude-fable-5、claude-fable-5-1 的 thinking 都是 min: 1024、max: 128000 加一列 levels17。
internal/thinking/validate.go:第 86 行先判能力;第 102 行的"只有档位"一支会把预算换算成档位;第 114 行的 hybrid 分支是空的,所以同时声明了预算与档位的模型原样保留数字预算19(high) 这类档位,或者干脆不写 thinking,让上游用自己的默认。reasoning_effort 数字的、或带 Claude budget_tokens 的,都可能被算成正数预算。passthrough-headers 打开时,成功的 Claude 响应会把上游头带给客户端,错误响应却不带11。Retry-After、Retry-After-Ms 与 Anthropic-Ratelimit-Unified-*。classifyClaudeUpstreamErrorWithCooling 第 809 行先解析重试时间,第 811 行把它塞进 statusErr。
internal/runtime/executor/claude_executor_request.go:第 807–810 行读上游头算 retryAfter,第 811 行构造出错误对象之后就再用不到头,响应侧也就没有任何头可以往下传25Retry-After 做退避,现在这条链路拿不到真实值。passthrough-headers 关掉时行为不变,它还没合并,本刊也没有在实例上验证过端到端结果11。Retry-After。github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
github.com
status.openai.com
status.openai.com
status.anthropic.com
status.cloud.google.com
codex-reset.com
opentherank.com
community.openai.com
community.openai.com
reddit.com
reddit.com
reddit.com
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.