-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
Persistent error started happening lately: Input tag 'reasoning' found using 'type' does not match any of the expected tags
Context (who is affected and when)
I think it happens when the context is starting to fill up >70%. Doesnot matter if reasoning is enabled or disabled.
Reported here as well: #9392 (comment)
Reproduction steps
- Do the agent stuff on new session
- When context fills up to about 160k/200k tokens you may see the error
Expected result
Message should be correct and accepted by API
Actual result
Error is shown. Can't be retried. New session is the only way to continue.
Variations tried (optional)
No response
App Version
3.34.3
API Provider (optional)
Google Vertex AI
Model Used (optional)
Claude Sonnet 4.5
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.0: Input tag 'reasoning' found using 'type' does not match any of the expected tags: 'document', 'image', 'redacted_thinking', 'search_result', 'text', 'thinking', 'tool_result', 'tool_use'"},"request_id":"req_vrtx_011CVUxYcMYbPv2DnWqqt7nb"}rushelex and jumpmanjay
Metadata
Metadata
Assignees
Labels
Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done