Skip to content

fix: MT Auto only where the machine can route it - #4

Merged
sheehanmunim merged 1 commit into
mainfrom
fix/mt-auto-capability
Aug 19, 2026
Merged

fix: MT Auto only where the machine can route it#4
sheehanmunim merged 1 commit into
mainfrom
fix/mt-auto-capability

Conversation

@sheehanmunim

Copy link
Copy Markdown
Member

What changed

  • MT Auto is withheld from machines that cannot route. The router is a harness-level entry the client injects, but the server running the turn has to understand the mt instance. A machine on an older build answered with "Thread references unknown provider instance 'mt'" and the turn failed. Servers now advertise capabilities.modelRouting, and the picker only offers MT Auto for environments that claim it.
  • Renamed: "MT Model" is now MT Auto, and its provider label is Munim rather than MT Code.

Why

Picking MT Auto on a thread whose machine ran an older build was a guaranteed failure with a confusing error.

Checks

  • vp run -r typecheck clean
  • Model/provider suites green, with new coverage for the capability gate

Servers advertise `capabilities.modelRouting`; the picker only offers the
router for environments that claim it. A machine on an older build rejects
the `mt` instance outright, and the turn failed with "references unknown
provider instance 'mt'".

Renames MT Model to MT Auto, and its provider label from MT Code to Munim.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@sheehanmunim
sheehanmunim merged commit e692e02 into main Aug 19, 2026
4 of 9 checks passed
@sheehanmunim
sheehanmunim deleted the fix/mt-auto-capability branch August 19, 2026 07:24
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant