#16563

Hard coded AI model (gpt-5-mini)

Openshinchriopened 4d ago

Version

0.22.3

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

I set up AI with but config ai, but after setting up Anthropic with bring-your-own API key and Anthropic model (claude-haiku-5-5), running but branch show <branch-name> --ai showed the following error: Error: Anthropic API error (404 Not Found): {"type":"error","error":{"type":"not_found_error","message":"model: gpt-5-mini"},"request_id":"req_id"}

It seems that even though I specified Anthropic model, GitButler used ChatGPT model which I didn't even set up (I checked my set up with but config ai show).

How to reproduce (Optional)

  1. but config ai (Set up with Anthropic with bring your own API key and Anthropic model)
  2. but branch show --ai

Expected behavior (Optional)

No response

Relevant log output (Optional)

gitbutler-workspace 🐙 gitbutler/workspace % but config ai show
AI Configuration (global)

  Provider: anthropic
  OpenAI key option: (not set)
  OpenAI model: (not set)
  OpenAI endpoint: (not set)
  Anthropic key option: bringYourOwn
  Anthropic model: claude-haiku-5-5
  Ollama endpoint: (not set)
  Ollama model: (not set)
  LM Studio endpoint: (not set)
  LM Studio model: (not set)

gitbutler-workspace 🐙 gitbutler/workspace % but branch show liked-tweets --ai                                           
Error: Anthropic API error (404 Not Found): {"type":"error","error":{"type":"not_found_error","message":"model: gpt-5-mini"},"request_id":"req_id"}

Activity

1
shinchri3d ago

I updated to version 0.23.0 but the problem remains