github / github/copilot-cli

Reason: Request Failed: 400 {"type":"error","error":

未关闭
#4,200 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:models
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Sorry, your request failed. Please try again.

Client Request Id: 37d002d9-1b1a-4391-87c7-c5e78738a4d6

Image

GH Request Id: C773:3572CB:8F80BEE:9D6A6D9:6A5F0843

Reason: Request Failed: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.1: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response."},"request_id":"req_011CdEgFCtmuNZwA4j7YktHw"}

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

报告没有提及任何文件、测试或入口点,也没有提供复现步骤。首先使用提供的客户端和 GitHub request IDs 重现失败的请求,然后跟踪构造 assistant message 的请求处理路径;完成的标准是识别并阻止无效请求,并提供一个回归测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。