Summary
when agent try to read my files it would return error 400
Steps to Reproduce
1.set the deepseek env
2.start to chat and ask it to do some agent work like reading files
Expected Behavior
read my files and report it to me
but it return after read one file
API Error: 400 {"error":{"message":"The reasoning_content in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
Environment
$env:CLAUDE_CODE_USE_OPENAI="1"
$env:OPENAI_API_KEY="sk-"
$env:OPENAI_BASE_URL="https://api.deepseek.com/v1"
$env:OPENAI_MODEL="deepseek-v4-flash"
openclaude
- OpenClaude version:v0.6.0
- OS:
- Terminal:
- Provider:
- Model:
Logs / Screenshots
Paste the exact error output or attach screenshots if useful.
Additional Context
Anything else maintainers should know?
Summary
when agent try to read my files it would return error 400
Steps to Reproduce
1.set the deepseek env
2.start to chat and ask it to do some agent work like reading files
Expected Behavior
read my files and report it to me
but it return after read one file
API Error: 400 {"error":{"message":"The reasoning_content in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
Environment
$env:CLAUDE_CODE_USE_OPENAI="1"
$env:OPENAI_API_KEY="sk-"
$env:OPENAI_BASE_URL="https://api.deepseek.com/v1"
$env:OPENAI_MODEL="deepseek-v4-flash"
openclaude
Logs / Screenshots
Paste the exact error output or attach screenshots if useful.
Additional Context
Anything else maintainers should know?