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

[Bug] Error with "thinking or redacted_thinking" tokens not being processable with Sonnet 5.

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
devtools

調査の方向性

まず、サーバーエラーで参照されているログを調査し、失敗している Sonnet 5 セッションと、正常に続行できている Sonnet 4.6 の継続を比較します。thinking または redacted_thinking の内容が処理不能になる箇所を特定します。完了条件は、400 エラーなしで Sonnet 5 によってセッションを続行できることです。

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

説明

bug

Environment

  • OS: Windows 11 Pro
  • Eclipse Version: Version: 2026-06 (4.40.0) / Build id: 20260604-0653
  • Plugin Version: GitHub Copilot GitHub Copilot 0.20.0.202607100822 com.microsoft.copilot.eclipse.feature

Describe the bug
While working on Sonnet 5, around the time i reach half of the max context (the context window icon shows half-circle full), i regularly get this message:

Sorry, an error occurred while generating a response. Details: unhandled status from server: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.1: thinking or redacted_thinking blocks in the latest assistant messa... Read more from logs.

To Reproduce
This happens consistently on Sonnet 5 that i use often, around the time where the context seems above 50% of max size. I definitely did not see that with any other models, but i also do not use other models often enough. To "fix", i switch to Sonnet 4.6 to continue my task and that works, but i can never get back to Sonnet 5 short of a whole new session. This happens no matter the "thinking" mode (low/high) i have used. This happens frequently, but not always under the "50%" condition i noted. I cannot reproduce this with a fixed set of steps.

Expected behavior
A session using Sonnet 5 shouldn't die this way.

Screenshots
The first screenshot is of the errors, then the second shows after i switched to Sonnet 4.6 to continue.

Image Image

Additional context
N/A

主要言語
Java
スター
125
フォーク
63
平均マージ
1日 3時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

microsoft/copilot-for-eclipse のほかの issue

microsoft/copilot-for-eclipse の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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