Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Claude Opus 4.5 requests return error 400

オープン
#703 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
macos, swift
領域
ai, api

調査の方向性

添付された Copilot for Xcode のログと、Claude Opus 4.5 が選択されたときに使用される Agent リクエストパスから始めてください。送信されるリクエストボディ、特に 400 レスポンスで特定された thinking blocks を調査し、モデルが想定する形式と比較してください。Claude Opus 4.5 を使用した Agent リクエストがこのエラーを返さずに受け付けられれば完了です。

索引モデルが issue の本文から書いたものです。

説明

reviewed

Describe the bug
When making an Agent request using Claude Opus 4.5 I have been getting the same error message all day:

Sorry, an error occurred while generating a response. Details: unhandled status from server: 400 {"error": {"message": "messages.1.content.0.thinking: each thinking block must contain thinking","code":"invalid_request_body"}} Request ID: xxx

Versions

  • Copilot for Xcode: 0.46.0
  • Xcode: 26.2.0
  • macOS: 26.2

Steps to reproduce

  1. Select Claude Opus 4.5 as model
  2. Select Agent mode
  3. Enter prompt
  4. Error is returned

Screenshots
Image

Logs
github-copilot-for-xcode.log

Additional context
Attempted the following to try and resolve:

  • Signing out then back in
  • Cleaning DerivedData/Copilot cache
  • Restarting device
  • Uninstalling / Reinstalling Copilot
主要言語
Swift
スター
6.3k
フォーク
2k
平均マージ
3日 21時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/CopilotForXcode のほかの issue

github/CopilotForXcode の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。