Skip to content

Model version generation issue #21871

Description

@haritha-px

When specifying a model in the readme in the following manner:

engine:
  id: claude
  model: claude-sonnet-4.6

and running gh aw compile, the corresponding yaml generated is:
--model claude-sonnet-4.6

as opposed to (based on claude's documentation):
--model claude-sonnet-4-6
.

This results in the workflow failing when run in CI. Example error:

"result":"There's an issue with the selected model (claude-sonnet-4.6). It may not exist or you may not have access to it. Run --model to pick a different model."

Activity

  1. locked and limited conversation to collaborators on Mar 19, 2026
  2. unlocked this conversation on Mar 19, 2026
  3. pelikhan commented on Mar 20, 2026

    @pelikhan
    Collaborator

    What about trying?

    engine:
      id: claude
      model: claude-sonnet-4-6
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions