Repository navigation
fix(mecatui): persist ToolHive provider default - #2043
Merged
Merged
Conversation
Co-Authored-By: Codex <[email protected]>
Contributor
Author
|
/retest |
jhrozek
approved these changes
Oct 1, 2026
Merged
2 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Development stage
and the in-PR plan declares
**Expected tasks:** 1, a non-placeholder**Combined rationale:**, and no runtime/public/operator/persistence/trust-boundaryinterface change (
None — rationale; workflow-only meta-changes may review processdocs/skills here)
Contract linkage
Interface conformance
set-defaultworkflow used by other provider authentication methods.Issue relationship
No linked issue.
Type of change
Test plan
Baseline checks
task lint)task test)task test:race)go run ./cmd/mecademo)task docs)task site:build)task api:check)task api:update+engine/CHANGELOG.mdtask ac-trace-strict)/panel-reviewAdditional focused checks:
go test ./cmd/mecatuigo test -race ./cmd/mecatuigo test ./cmd/mecatui -run '^TestProviderSetupToolHiveMenuSelectionOffersDeploymentDefault$'Repository-wide
task testreaches and passescmd/mecatui, then fails in unrelated microVM fixture/socket tests.task lintreports three existing SA4023 findings incmd/mecatl-executorandinternal/executionexecutor.Changes
cmd/mecatui/provider_setup.gocmd/mecatui/provider_setup_test.gocmd/mecatui/provider_status.gouser-docs/features/choose-models.mdUser-facing change
Choosing ToolHive in
mecatui providers setupnow offers to save ToolHive as the embedded deployment default. Accepting that prompt prevents configured API-key providers from winning the automatic provider-preference ladder.Special notes for reviewers
The ToolHive configuration still controls availability and credential lifecycle. This change only restores the explicit default-selection prompt and persistence step after login.