claude does not perform
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.31.content.0: If an assistant message contains any thinking
blocks, the first block must be thinking or redacted_thinking. Found text."},"request_id":"req_011CXTT7DgQBxqFXtufVFrkU"}
apear when assigning it a task
What Should Happen?
It should perform
Error Messages/Logs
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.31.content.0: If an assistant message contains any thinking
blocks, the first block must be `thinking` or `redacted_thinking`. Found `text`."},"request_id":"req_011CXTT7DgQBxqFXtufVFrkU"}
Steps to Reproduce
❯ ""USE https://kbbuddywts.kbsec.com.vn/"" or previous API data to
-save each steps to claude.md and KBS data scrapper before limit is reached
Include in the
1.hnx_2012_2024_growth_analysis.csv
2.hose_2012_2024_growth_analysis.csv
3.upcom_2012_2024_growth_analysis.csv
-latest P/E
-latest P/BV
-its core business for each stock in each file
save over to claude.md and kbs data scraper
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
latest
Claude Code Version
latest
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗