Client or integration
Claude Code
Area
Streaming
Summary
API Error: 400 Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console): Upstream request failed: [invalid_request_error] The reasoning_content in the thinking mode must be passed back to the API."}}
Reproduction
Version
2.10.0
Operating system
Windows 11, MacOS
Provider and model
OpenCode models
Logs or error output
API Error: 400 Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console): Upstream request failed: [invalid_request_error] The `reasoning_content` in the thinking mode must be passed back to the API."}}
Screenshots and supporting files
Redacted configuration
Checks
Client or integration
Claude Code
Area
Streaming
Summary
API Error: 400 Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console): Upstream request failed: [invalid_request_error] The
reasoning_contentin the thinking mode must be passed back to the API."}}Reproduction
Version
2.10.0
Operating system
Windows 11, MacOS
Provider and model
OpenCode models
Logs or error output
API Error: 400 Provider error 400: {"error":{"param":null,"type":"invalid_request_error","code":"invalid_request_error","message":"Error from provider (Console): Upstream request failed: [invalid_request_error] The `reasoning_content` in the thinking mode must be passed back to the API."}}Screenshots and supporting files
Redacted configuration
Checks