Skip to content

Use Sonnet 5.5 as the default Anthropic model - #1152

Merged
zlareb1 merged 1 commit into
mainfrom
fix/default-anthropic-sonnet-55
Nov 22, 2026
Merged

zlareb1 merged 1 commit into
mainfrom
fix/default-anthropic-sonnet-55

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 22, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):

The default Anthropic model is claude-sonnet-5-5. Deployments with an explicit model keep their configured selection.

Why

Use Sonnet for extraction, reranking and other jobs that inherit the deployment model. The provider resolver is the shared authority for startup, health and diagnostics, so the selection belongs there.

This default change is requested directly. Retrieval and coding performance remain evaluation questions; this PR makes no quality, latency or cost claim.

Scope and risk

Changes the Anthropic provider fallback and its documentation. Existing cost accounting already prices Sonnet. A deployment that inherits the fallback will send future requests to Sonnet, which has different prices and response behavior. Provider inference and explicit deployment or per-job overrides retain their existing precedence.

Compatibility, rollout and rollback

  • Wire: no changes. The provider fallback changes from claude-haiku-5-5 to claude-sonnet-5-5; the llm_model setting still defaults to an empty string.
  • Operator steps: restart to pick up the fallback. Set LOOM_LLM_MODEL=claude-haiku-5-5 to retain the previous selection.
  • Rollback: revert the resolver and documentation; no migration or re-index is needed.

Tests

  • LOOM_ENV_FILE= make format, make lint and make typecheck pass.
  • Regenerated the configuration reference, settings schema and settings template.
  • Updated resolution coverage for explicit provider and inferred-key selection, with an explicit Haiku override case.
  • Local unit tests and the provider quick benchmark were not run, per requester instructions. The software-factory comparison will measure the selected model separately from earlier model cohorts. CI is not a merge wait under the requested workflow.

AI assistance in the code (leave one; writing this description with AI is fine):

  • AI-generated: Codex implemented the change; a fresh agent reviews the exact pushed head.

  • I can explain every line of this diff and how it interacts with the rest of Loom.

Checklist

  • Format, lint and type checks pass. Local unit tests are intentionally not run.
  • Affected generated settings documentation is current.
  • No migrations, plugin files or frontend files changed.
  • Docs describe model precedence and operator steps.
  • Commits are signed off.

Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 22, 2026 10:12am UTC

Request Review

@zlareb1
zlareb1 merged commit 40da830 into main Nov 22, 2026
57 of 58 checks passed
@zlareb1
zlareb1 deleted the fix/default-anthropic-sonnet-55 branch November 22, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant