Skip to content

Opus 4.7 Thinking API #32

Description

@simon-lee-1

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."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions