Skip to content

[BUG] Sonnet 4.5 w/ Anthropic provider returning 404 #8379

@jacob-long

Description

@jacob-long

Problem (one or two sentences)

When choosing the newly-added Sonnet 4.5 from the Anthropic provider in Roo, it gets a 404 message, e.g.,

404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-4.5-sonnet"},"

Context (who is affected and when)

Anyone selecting Claude 4.5 Sonnet from the dropdown with the Anthropic provider.

Reproduction steps

Roo Code 3.28.11, select Claude 4.5 Sonnet from the dropdown with Anthropic provider, try to send a message.

Expected result

Normal API response

Actual result

404 error response

Variations tried (optional)

No response

App Version

3.28.11

API Provider (optional)

Anthropic

Model Used (optional)

Claude 4.5 Sonnet

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

The problem appears to be the use of the wrong model identifier. The error indicates that Roo is sending `claude-4.5-sonnet`, when it should be `claude-sonnet-4-5`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions