Bug Description
⏱️ Time elapsed before failure: 1.13s
📝 Error: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'thinking.adaptive.budget_tokens: Extra inputs are not permitted'}, 'request_id': 'req_011CYzFhi93zweZCwVfmaPi
When using anthropic models such opus-4-6, budget_tokens is being sent with adaptive thinking, which is not supported, either use enabled but will be deprecated or use effort instead of budget_tokens
Steps to Reproduce
- Run
hermes chat --provider anthropic --model claude-opus-4-6
- Enter anything.
Expected Behavior
Should return response and not 400
Actual Behavior
⏱️ Time elapsed before failure: 1.13s
📝 Error: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'thinking.adaptive.budget_tokens: Extra inputs are not permitted'}, 'request_id': 'req_011CYzFhi93zweZCwVfmaPi
Affected Component
Agent Core (conversation loop, context compression, memory)
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 24.04
Python Version
3.11.15
Hermes Version
v0.2.0 (2026.3.12)
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
When using anthropic models such opus-4-6,
budget_tokensis being sent with adaptive thinking, which is not supported, either useenabledbut will be deprecated or useeffortinstead ofbudget_tokensSteps to Reproduce
hermes chat --provider anthropic --model claude-opus-4-6Expected Behavior
Should return response and not 400
Actual Behavior
⏱️ Time elapsed before failure: 1.13s
📝 Error: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'thinking.adaptive.budget_tokens: Extra inputs are not permitted'}, 'request_id': 'req_011CYzFhi93zweZCwVfmaPi
Affected Component
Agent Core (conversation loop, context compression, memory)
Messaging Platform (if gateway-related)
No response
Operating System
Ubuntu 24.04
Python Version
3.11.15
Hermes Version
v0.2.0 (2026.3.12)
Relevant Logs / Traceback
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?