[GH-ISSUE #5505] [BUG]: Default Anthropic model stuck to Sonnet 3.7 instead of the visible default #5132

Closed
opened 2026-06-05 14:52:11 -04:00 by yindo · 3 comments
Owner

Originally created by @tredondo on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5505

Originally assigned to: @timothycarambat on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

I've just entered my Anthropic API key and as can be seen in #5504, the default model seems to be Opus 4.7.

However, after sending the first prompt, it turns out the default model was Sonnet 3.7, likely from #5503 because after the model discovery, the new default was not set, only displayed.

Image

Are there known steps to reproduce?

  1. Start with a fresh install
  2. Add an Anthropic API key
  3. Start a new workspace, and set its LLM provider to Anthropic.
  4. Send a message to Claude.

LLM Provider & Model (if applicable)

Anthropic / apparently Sonnet 3.7

Only after clicking "Use this model" in the model selector, will the correct default actually become the default.

Image

Embedder Provider & Model (if applicable)

No response

Originally created by @tredondo on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5505 Originally assigned to: @timothycarambat on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? I've just entered my Anthropic API key and as can be seen in #5504, the default model seems to be Opus 4.7. However, after sending the first prompt, it turns out the default model was Sonnet 3.7, likely from #5503 because after the model discovery, the new default was not *set*, only displayed. <img width="1006" height="529" alt="Image" src="https://github.com/user-attachments/assets/070a8994-7804-4db3-b5c2-34f323f53b18" /> ### Are there known steps to reproduce? 1. Start with a fresh install 2. Add an Anthropic API key 3. Start a new workspace, and set its LLM provider to Anthropic. 4. Send a message to Claude. ### LLM Provider & Model (if applicable) Anthropic / apparently Sonnet 3.7 Only after clicking "Use this model" in the model selector, will the correct default actually become the default. <img width="807" height="563" alt="Image" src="https://github.com/user-attachments/assets/b8205b28-52a3-4b12-80c4-919dd27d0837" /> ### Embedder Provider & Model (if applicable) _No response_
yindo added the UI/UXpossible bug labels 2026-06-05 14:52:11 -04:00
yindo closed this issue 2026-06-05 14:52:11 -04:00
Author
Owner

@timothycarambat commented on GitHub (Apr 24, 2026):

When you added your key in the LLM picker UI - did you pick a model? Otherwise it may have just shown the first model which would render https://github.com/Mintplex-Labs/anything-llm/blob/master/frontend/src/components/LLMSelection/AnthropicAiOptions/index.jsx#L95

and would "accidentally" be picked - but that is because that tag is deprecated and you never really "selected" a model - so that would be why.

<!-- gh-comment-id:4315966997 --> @timothycarambat commented on GitHub (Apr 24, 2026): When you added your key in the LLM picker UI - did you pick a model? Otherwise it may have just shown the first model which would render https://github.com/Mintplex-Labs/anything-llm/blob/master/frontend/src/components/LLMSelection/AnthropicAiOptions/index.jsx#L95 and would "accidentally" be picked - but that is because that tag is deprecated and you never really "selected" a model - so that would be why.
Author
Owner

@tredondo commented on GitHub (Apr 24, 2026):

When you added your key in the LLM picker UI - did you pick a model?

I don't think so, because Calude Opus 4.7 appeared selected, so I assumed it was considered the default.

<!-- gh-comment-id:4316102911 --> @tredondo commented on GitHub (Apr 24, 2026): > When you added your key in the LLM picker UI - did you pick a model? I don't think so, because Calude Opus 4.7 appeared selected, so I assumed it was considered the default.
Author
Owner

@timothycarambat commented on GitHub (Apr 24, 2026):

Moved to #5522

<!-- gh-comment-id:4316672644 --> @timothycarambat commented on GitHub (Apr 24, 2026): Moved to #5522
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5132