Repository navigation
fix: 仅对 Command Code 账号兼容不支持的 reasoning.summary - #11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Command Code 账号向 Responses 转发请求时,上游返回 400 InvalidParameter: json: unknown field "summary"。
在网关完成协议转换后,仅对 provider 为 commandcode-goat 且目标为 /v1/responses 的请求移除 reasoning.summary。保留 reasoning.effort、其他参数及历史推理内容,覆盖 Chat Completions / Messages 转换与原生 Responses 透传。其他供应商保留原来的摘要行为,通用协议转换器不变。
验证:
尚未更新本机安装包或向生产上游重放请求。