Title: Claude Opus 4.5 requests return error 400 · Issue #703 · github/CopilotForXcode · GitHub
Open Graph Title: Claude Opus 4.5 requests return error 400 · Issue #703 · github/CopilotForXcode
X Title: Claude Opus 4.5 requests return error 400 · Issue #703 · github/CopilotForXcode
Description: 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"...
Open Graph Description: 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 stat...
X Description: 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 stat...
Opengraph URL: https://github.com/github/CopilotForXcode/issues/703
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Claude Opus 4.5 requests return error 400","articleBody":"**Describe the bug**\nWhen making an Agent request using Claude Opus 4.5 I have been getting the same error message all day:\n\nSorry, 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\n\n**Versions**\n- Copilot for Xcode: 0.46.0\n- Xcode: 26.2.0\n- macOS: 26.2\n\n**Steps to reproduce**\n1. Select Claude Opus 4.5 as model\n2. Select Agent mode\n3. Enter prompt\n4. Error is returned\n\n**Screenshots**\n\u003cimg width=\"427\" height=\"106\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/59ac4a69-ddfd-4fc0-9c31-aa65a68e40e4\" /\u003e\n\n**Logs**\n[github-copilot-for-xcode.log](https://github.com/user-attachments/files/24520525/github-copilot-for-xcode.log)\n\n**Additional context**\nAttempted the following to try and resolve:\n- Signing out then back in\n- Cleaning DerivedData/Copilot cache\n- Restarting device\n- Uninstalling / Reinstalling Copilot\n","author":{"url":"https://github.com/nick-holmes","@type":"Person","name":"nick-holmes"},"datePublished":"2026-01-09T06:04:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/703/CopilotForXcode/issues/703"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1272e47d-011b-aa31-2afa-b1b3ead0a3ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 993C:108FDA:5FAB34:806856:697035B7 |
| html-safe-nonce | 453e0cf529dd794a9096573d2adaba9cacc43e64158319b4a58b16c74d9a01e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTNDOjEwOEZEQTo1RkFCMzQ6ODA2ODU2OjY5NzAzNUI3IiwidmlzaXRvcl9pZCI6IjM5NzM2OTg4ODIxMjUxODIzOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 858644fba81e8818d5e1ada3a6b27f4d4b01294822ba54016a8c307fbfdfc05f |
| hovercard-subject-tag | issue:3795609993 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/CopilotForXcode/703/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ffe5540c85fe6f7e7058f32331ecc7d421cfc068db7460a9a6df2273f85f923e/github/CopilotForXcode/issues/703 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ffe5540c85fe6f7e7058f32331ecc7d421cfc068db7460a9a6df2273f85f923e/github/CopilotForXcode/issues/703 |
| og:image:alt | 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 stat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nick-holmes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/CopilotForXcode git https://github.com/github/CopilotForXcode.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 860035177 |
| octolytics-dimension-repository_nwo | github/CopilotForXcode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 860035177 |
| octolytics-dimension-repository_network_root_nwo | github/CopilotForXcode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width