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
config/translations/anthropic.tssetsconst model = 'claude-3-5-sonnet-20241022';intranslateKeyPhrase(line 32 ondevat 6658e3b). Anthropic's model deprecations page listsclaude-3-5-sonnet-20241022as retired on October 28, 2025, withclaude-sonnet-4-6as 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, sobun config/translations/scan.tscan'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 setstemperature: 0.3; the same page saystemperature,top_pandtop_kreturn 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
devif you assign it to me.🤖 Drafted with Claude Code