gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Update Anthropic model list to include Opus 4.6 and latest model names

Open thoughtfulcool opened this issue 9 months ago • 4 comments

Description

GitButler's Agents Tab is showing outdated Claude model names and is missing recently released models.

Current Models

  • Sonnet 1m
  • Sonnet
  • Haiku
  • Opus
  • Opus Planning

Missing Models

  • Claude Opus 4.6 (claude-opus-4-6)
  • Claude Opus 4.5 (claude-opus-4-5-20251101)
  • Updated Sonnet 4.5 name (claude-sonnet-4-5-20250929)
  • Updated Haiku 4.5 name (claude-haiku-4-5-20251001)

Current Behavior

Even with latest Claude Code installed and configured as well as latest GitButler v0.19.1, the Agents Tab only shows the older model list. (I had hoped latest update would show new models.)

Expected Behavior

GitButler should show all current models available in Claude Code.

Suggested Fix

Update the hardcoded model list (similar to PR #7555) to include:

  1. All Claude 4.x models
  2. Current naming conventions from Anthropic's API (So user can tell which version is available)
  3. Consider making this list dynamic or possible for user to update (after at least updating to new Feb models please)

thoughtfulcool avatar Feb 08 '26 22:02 thoughtfulcool

To anyone who comes across this issue and wants a quick fix, this is what I used to override the available models options (even though switching models is VERY clunky):

# Create or edit ~/.claude/settings.json
echo '{"model": "claude-opus-4-6"}' > ~/.claude/settings.json

# Or if you prefer Sonnet 4.5 with the latest name:
echo '{"model": "claude-sonnet-4-5-20250929"}' > ~/.claude/settings.json

thoughtfulcool avatar Feb 09 '26 18:02 thoughtfulcool

Thanks a lot for reporting, and for figuring out a workaround! This can be useful whenever it goes out of sync, and let's face it, it will always drift at least a little bit.

Byron avatar Feb 16 '26 04:02 Byron

Apologies, I should have validated this first!

Image

The model selection provided here does not mention the version, and thus uses the latest greatest model automatically.

I am closing this, also noting that there is a way to force the model version.

Please do let me know if I am missing something though.

Byron avatar Feb 17 '26 10:02 Byron

You're right. I think there was just a short gap between Opus 4.6 update and the last GitButler release where Claude reported it was still on earlier version. Confirmed it's now using latest version without my CLI command. Thanks for looking into this. Go ahead and close it on up.

thoughtfulcool avatar Feb 17 '26 15:02 thoughtfulcool