[Bug] Error with "thinking or redacted_thinking" tokens not being processable with Sonnet 5.
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start by inspecting the logs referenced in the server error and compare the failing Sonnet 5 session with the successful Sonnet 4.6 continuation. Determine where the thinking or redacted_thinking content becomes unprocessable; done means the session can continue with Sonnet 5 without the 400 error.
Written by the indexing model from the issue text.
Description
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.
Additional context
N/A
- Dominant language
- Java
- Stars
- 125
- Forks
- 63
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/copilot-for-eclipse
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/copilot-for-eclipse#474 ·
Maintainers usually reply within 1 day
-
[Feature Request] Copilot CLI Quick Launcher (Just like Intellij) with WSL & Auto-Install SupportOpenenhancement
Difficulty 5/5 Over a week Newbie friendliness 42/100
microsoft/copilot-for-eclipse#473 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#472 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#465 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/copilot-for-eclipse#458 ·
Maintainers usually reply within 1 day
All issues in microsoft/copilot-for-eclipse
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
helidon-io/helidon#12721 ·
Maintainers usually reply within 1 day
-
status: team-only type: dependency-upgrade
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
spring-projects/spring-boot#51966 ·
Maintainers usually reply within 1 day
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion/react-native-reanimated#10816 · 2 comments ·
Maintainers usually reply within 1 day
-
area/docs backport/26.6 backport/26.8 kind/bug status/triage
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
[destination-snowflake] Custom domains rejected unlike source connectionsPossibly taken @kuza55 claimed this today. Openautoteam community connectors/destination/snowflake team/use
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day