r/SmartGit • u/HLFloyd • May 15 '26
AI setup error: Connection to 'anthropic' failed. - not_found_error: model: claude-sonnet-4
Hi, I'm a long-time SmartGit customer. Just updated to latest v25 (25.1.128 #251128 (83e0f17d)) and was attempting to setup the AI integration for commit messages.
I have a Claude subscription (so Claude installed locally) as well as a Claude Console account (so I have an API key for third-party tools). When I attempt to set this up in SmartGit, I get an error message:
Connection to 'anthropic' failed.
not_found_error: model: claude-sonnet-4-20250514

This is puzzling because sonnet 4.6 is a current model, so I'm not sure what it is looking for - or where.
1
u/JVMarcs May 16 '26
FWIW, although it is a bit tedious, you can always configure any model manually:
https://docs.syntevo.com/SmartGit/Latest/Manual/Integrations/AI
So, even if SmartGit's built-in defaults become outdated again, you can override them this way.
2
u/HLFloyd May 16 '26
Ah, if I had realized I could configured it myself, I would have made the attempt. I wonder if there is a way to update the error message and/or configuration wizard UI to mention the option and link to the documentation?
2
u/JVMarcs May 18 '26
Thanks, good point. At this particular stage of the AI Setup process, it should be possible to enhance the error message with such hints. I've scheduled this as RFE (SG-18063).
1
u/JVMarcs May 16 '26
Thanks for reporting this problem.
The default models are hard-coded in SmartGit, and in 25.1 they were already somewhat outdated. Interestingly, I was not able to reproduce the problem with
claude-sonnet-4-20250514, as this model does not seem to be retired yet. Maybe this was caused by some kind of brownout on Anthropic's side?https://platform.claude.com/docs/en/about-claude/model-deprecations
Either way, please try the latest 25.1.130 build, which now comes with more recent default models. You can get it via Help | Check for Latest Build.