[PR #5736] [MERGED] feat: support Claude Mythos 5.1 on Anthropic connections #6912

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/5736
Author: @SpicyMarinara
Created: 9/1/2026
Status: ✅ Merged
Merged: 9/1/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/5735-claude-mythos-5-1


📝 Commits (2)

  • c77b37e chore: start Claude Mythos 5.1 support
  • d36b34e feat: support Claude Mythos 5.1 on Anthropic

📊 Changes

3 files changed (+18 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/shared/src/constants/model-lists.ts (+1 -0)
📝 scripts/regressions/provider-compat.regression.ts (+16 -0)

📄 Description

Linked issue

Closes #5735

Why this change

  • Anthropic connections currently treat Claude Mythos 5.1 as unknown, so Marinara does not expose its documented limits or consistently apply known-model request behavior.

What changed

  • Registered claude-mythos-5-1 for native Anthropic connections with its documented 1M-token context window and 128k output limit.
  • Reused the existing Mythos compatibility path: adaptive-only reasoning, no unsupported thinking-disable request, no sampling parameters, and automatic tool choice when a preset asks for a forced call.
  • Added exact-ID provider regression coverage and an 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 check: passed locally.
  • pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/provider-compat.regression.ts: 1/1 passed.
  • Regression confirms claude-mythos-5-1 is known at 1M/128k, remains adaptive-only, rejects thinking disable, and converts required tool choice to auto.

Manual verification notes

  • The local client and server started successfully.
  • No controllable browser was available in this session, so the model-picker click-through was not claimed.
  • A live completion was not attempted because Claude Mythos 5.1 requires Project Glasswing approval and credentials.
  • Manually verify the model appears under an Anthropic connection as claude-mythos-5-1 (limited access).
  • Manually verify an approved Project Glasswing account can complete a text request.
  • Manually verify 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)

The provider reference does not enumerate individual model IDs, so no user-facing docs change is needed. CHANGELOG.md is updated. No release metadata changed.

UI evidence (if applicable)

  • No new component or layout. The existing model picker renders the shared model catalog entry.

Source

Summary by CodeRabbit

  • New Features

    • Added support for the limited-access Claude Mythos 5.1 model in Anthropic connections.
    • Supports a 1M-token context window and up to 128K output tokens.
    • Enables adaptive thinking and automatically falls back when forced tool use is unsupported.
  • Bug Fixes

    • Improved compatibility for tool selection and model-specific request 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/5736 **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/5735-claude-mythos-5-1` --- ### 📝 Commits (2) - [`c77b37e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c77b37e813e59ba5481cefff1b01dc768cc2e082) chore: start Claude Mythos 5.1 support - [`d36b34e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d36b34e74ef87c63f47c03e12250f1353fbca2ec) feat: support Claude Mythos 5.1 on Anthropic ### 📊 Changes **3 files changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/shared/src/constants/model-lists.ts` (+1 -0) 📝 `scripts/regressions/provider-compat.regression.ts` (+16 -0) </details> ### 📄 Description ## Linked issue Closes #5735 ## Why this change - Anthropic connections currently treat Claude Mythos 5.1 as unknown, so Marinara does not expose its documented limits or consistently apply known-model request behavior. ## What changed - Registered claude-mythos-5-1 for native Anthropic connections with its documented 1M-token context window and 128k output limit. - Reused the existing Mythos compatibility path: adaptive-only reasoning, no unsupported thinking-disable request, no sampling parameters, and automatic tool choice when a preset asks for a forced call. - Added exact-ID provider regression coverage and an 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 check: passed locally. - pnpm build:shared && node ./scripts/run-regressions.mjs --filter scripts/regressions/provider-compat.regression.ts: 1/1 passed. - Regression confirms claude-mythos-5-1 is known at 1M/128k, remains adaptive-only, rejects thinking disable, and converts required tool choice to auto. ### Manual verification notes - The local client and server started successfully. - No controllable browser was available in this session, so the model-picker click-through was not claimed. - A live completion was not attempted because Claude Mythos 5.1 requires Project Glasswing approval and credentials. - Manually verify the model appears under an Anthropic connection as claude-mythos-5-1 (limited access). - Manually verify an approved Project Glasswing account can complete a text request. - Manually verify 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) The provider reference does not enumerate individual model IDs, so no user-facing docs change is needed. CHANGELOG.md is updated. No release metadata changed. ## UI evidence (if applicable) - No new component or layout. The existing model picker renders the shared model catalog entry. ## Source - Anthropic migration guide: https://platform.claude.com/docs/en/models/fable-5-1/migration-guide <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for the limited-access Claude Mythos 5.1 model in Anthropic connections. * Supports a 1M-token context window and up to 128K output tokens. * Enables adaptive thinking and automatically falls back when forced tool use is unsupported. * **Bug Fixes** * Improved compatibility for tool selection and model-specific request 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#6912
No description provided.