[PR #5738] [MERGED] feat: support Claude Fable 5.1 on Anthropic connections #6913

Closed
opened 2026-10-23 04:14:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5738
Author: @SpicyMarinara
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/5737-claude-fable-5-1


📝 Commits (3)

  • 8e3f7c3 chore: start Claude Fable 5.1 support
  • e7c27c7 feat: support Claude Fable 5.1 on Anthropic
  • cf3d160 fix: cap Anthropic adaptive output at model limit

📊 Changes

4 files changed (+59 additions, -10 deletions)

View changed files

📝 CHANGELOG.md (+1 -1)
📝 packages/server/src/services/llm/providers/anthropic.provider.ts (+18 -7)
📝 packages/shared/src/constants/model-lists.ts (+1 -0)
📝 scripts/regressions/provider-compat.regression.ts (+39 -2)

📄 Description

Linked issue

Closes #5737

Why this change

  • Claude Fable 5.1 was omitted from the preceding Claude 5.1 support work, leaving the ordinary non-gated model unknown to native Anthropic connections.

What changed

  • Register claude-fable-5-1 on native Anthropic connections with its 1M context window and 128k output limit.
  • Apply its documented automatic-only tool-choice behavior while preserving Claude Fable 5 required-tool behavior.
  • Add exact-model regression coverage for model discovery, adaptive thinking, parameter handling, and tool choice.
  • Update the Unreleased changelog entry.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated evidence

  • pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/provider-compat.regression.ts — passed (1/1).
  • pnpm check — passed, including formatting, lint, localization, type checks, and production builds.

Manual verification notes

A live Anthropic request was not made locally because no provider credential is available in the test environment. Please manually verify:

  • Claude Fable 5.1 appears under an Anthropic connection.
  • A Fable 5.1 text request succeeds.
  • A forced-tool preset falls back to automatic tool choice instead of receiving an Anthropic 400 response.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

No user-facing provider documentation enumerates individual Anthropic model IDs; the changelog is updated. No version bump is included.

UI evidence (if applicable)

Existing model-picker presentation only; no new UI component, copy, or layout.

Summary by CodeRabbit

  • New Features

    • Added support for Claude Fable 5.1 with a 1M-token context window and 128k output limit.
    • Expanded Anthropic model support to include Claude Fable 5.1 alongside Claude Mythos 5.1.
    • Added adaptive-thinking support and automatic fallback when forced tool use is unavailable.
  • Bug Fixes

    • Improved tool-choice handling and fallback messaging across supported Anthropic models.
    • Prevented requests from exceeding supported output limits.
    • Improved Claude Fable 5.1 compatibility, including reasoning and parameter handling.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5738 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/1/2026 **Status:** ✅ Merged **Merged:** 9/1/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/5737-claude-fable-5-1` --- ### 📝 Commits (3) - [`8e3f7c3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8e3f7c3f422f61f45d38a795e923b5f521fb441e) chore: start Claude Fable 5.1 support - [`e7c27c7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e7c27c7bdf49d82502fb17932d0a09adf02b49b3) feat: support Claude Fable 5.1 on Anthropic - [`cf3d160`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cf3d160aaf6c176e131de9d78497596a5bb21008) fix: cap Anthropic adaptive output at model limit ### 📊 Changes **4 files changed** (+59 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -1) 📝 `packages/server/src/services/llm/providers/anthropic.provider.ts` (+18 -7) 📝 `packages/shared/src/constants/model-lists.ts` (+1 -0) 📝 `scripts/regressions/provider-compat.regression.ts` (+39 -2) </details> ### 📄 Description ## Linked issue Closes #5737 ## Why this change - Claude Fable 5.1 was omitted from the preceding Claude 5.1 support work, leaving the ordinary non-gated model unknown to native Anthropic connections. ## What changed - Register `claude-fable-5-1` on native Anthropic connections with its 1M context window and 128k output limit. - Apply its documented automatic-only tool-choice behavior while preserving Claude Fable 5 required-tool behavior. - Add exact-model regression coverage for model discovery, adaptive thinking, parameter handling, and tool choice. - Update the Unreleased changelog entry. ## Validation - [ ] pnpm check passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed CONTRIBUTING.md ### Automated evidence - `pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/provider-compat.regression.ts` — passed (1/1). - `pnpm check` — passed, including formatting, lint, localization, type checks, and production builds. ### Manual verification notes A live Anthropic request was not made locally because no provider credential is available in the test environment. Please manually verify: - Claude Fable 5.1 appears under an Anthropic connection. - A Fable 5.1 text request succeeds. - A forced-tool preset falls back to automatic tool choice instead of receiving an Anthropic 400 response. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the docs-i18n branch updated to match, or a docs-i18n follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) No user-facing provider documentation enumerates individual Anthropic model IDs; the changelog is updated. No version bump is included. ## UI evidence (if applicable) Existing model-picker presentation only; no new UI component, copy, or layout. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for Claude Fable 5.1 with a 1M-token context window and 128k output limit. - Expanded Anthropic model support to include Claude Fable 5.1 alongside Claude Mythos 5.1. - Added adaptive-thinking support and automatic fallback when forced tool use is unavailable. - **Bug Fixes** - Improved tool-choice handling and fallback messaging across supported Anthropic models. - Prevented requests from exceeding supported output limits. - Improved Claude Fable 5.1 compatibility, including reasoning and parameter handling. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:14:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6913
No description provided.