github / github/copilot-language-server-release
VS Code Copilot Chat 400 invalid_request_body: Invalid input[n].id 'thinking_0' (expected 'rs...')
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 290
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Summary
Copilot Chat in VS Code failed with a 400 invalid_request_body error indicating malformed input object IDs in the request payload.
## Exact Error
Sorry, your request failed. Please try again.
Client Request Id: 328d73d9-ff78-474c-81e7-2b216032bbeb
GH Request Id: F0D9:9C4A5:2792B94:29627F3:6A26DA23
Reason: Request Failed: 400 {"error":{"message":"Invalid 'input[131].id': 'thinking_0'. Expected an ID that begins with 'rs'.","code":"invalid_request_body"}}
## Environment
- OS: Windows 11
- VS Code workspace path: c:/Users/eak/Documents/Documents/Lets_Go
- Date observed: 2026-06-08
- Repo context while using Copilot Chat:
- ekimminau/Lets_Go
- branch: admin_context_enhancements
## Repro
1. Open an existing Copilot Chat session with accumulated context.
2. Submit a new prompt.
3. Request fails with 400 invalid_request_body and invalid input ID format (`thinking_0`).
## Expected
Request should be accepted and processed by Copilot Chat.
## Actual
Backend rejects request body schema due to malformed input ID format.
## Additional context
- This appears to be client-side/session-state payload assembly.
- Starting a new chat session may temporarily avoid the failure.
- Local debug logs available at:
c:/Users/eak/AppData/Roaming/Code/User/workspaceStorage/3a8678e49171e3218fc3d5fc9028b367/GitHub.copilot-chat/debug-logs/4c7041e4-89f5-4800-890d-8b2d3d465b1a
Please use the request IDs for backend/client trace correlation.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reviewing the Copilot Chat debug logs at c:/Users/eak/AppData/Roaming/Code/User/workspaceStorage/3a8678e49171e3218fc3d5fc9028b367/GitHub.copilot-chat/debug-logs/4c7041e4-89f5-4800-890d-8b2d3d465b1a and reproduce the failure in an existing session. Trace the request payload assembly that produces the thinking_0 ID; done means the accumulated-context request is accepted instead of returning invalid_request_body.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- vscode
- Lĩnh vực
- ai, devtools
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 28/100