Skip to content

Translation script calls claude-3-5-sonnet-20241022, which Anthropic retired on October 28, 2025 #16426

Description

@simonether

config/translations/anthropic.ts sets const model = 'claude-3-5-sonnet-20241022'; in translateKeyPhrase (line 32 on dev at 6658e3b). Anthropic's model deprecations page lists claude-3-5-sonnet-20241022 as retired on October 28, 2025, with claude-sonnet-4-6 as the recommended replacement, and says requests to retired models fail.

Reading the code, the failed request is caught in translateKeyPhrase, logged as "There was an issue generating the translation", and no translation comes back, so bun config/translations/scan.ts can't produce new translations. I haven't run the script (it needs an Anthropic key and, per its README, can cost several dollars).

Proposed fix: change that one ID to claude-sonnet-4-6. The request also sets temperature: 0.3; the same page says temperature, top_p and top_k return a 400 error only on Claude 4.7 and later models, so Sonnet 4.6 accepts it and nothing else needs to change.

I'd like to take this and open a one-line PR against dev if you assign it to me.

🤖 Drafted with Claude Code

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions