Opus 4.7 changed their thinking api from thinking.type.enabled to thinking.type.adaptive
Any requests would return with this
API Error: 400 {"type":"error","request_id":"req_b7jesh7znqogylzc7fgoqj37vx3f ywzzczyzcjhadw25kwypde4a","error":{"type":"invalid_request_error","message":" \"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."}}
Opus 4.7 changed their thinking api from
thinking.type.enabledtothinking.type.adaptiveAny requests would return with this
API Error: 400 {"type":"error","request_id":"req_b7jesh7znqogylzc7fgoqj37vx3f ywzzczyzcjhadw25kwypde4a","error":{"type":"invalid_request_error","message":" \"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."}}