You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the first-session tutorial distinguish provider API access from consumer subscriptions and remote-server login.
Document custom provider IDs, default selection, model compatibility checks, and recovery steps.
State the provider ID format in the interactive setup prompt and CLI help, with regression coverage.
Describe the gateway connection as ToolHive-managed instead of implying that ToolHive is the gateway.
Development stage
Plan / Interface — Bounded/Architectural behavioral and exact-interface contract; no implementation
Implementation — based on an approved, merged Plan / Interface PR
Combined — compact one-task Bounded/Architectural exception; no separate plan PR,
and the in-PR plan declares **Expected tasks:** 1, a non-placeholder **Combined rationale:**, and no runtime/public/operator/persistence/trust-boundary
interface change (None — rationale; workflow-only meta-changes may review process
docs/skills here)
Spike / Routine — acceptance-plan spine exempt; Spike evidence does not ship as-is
Contract linkage
Work classification: Routine
Classification rationale: Clarifies existing provider setup behavior in the CLI and user documentation without changing provider behavior or a public interface.
Decision record: None; no durable architectural decision changes.
Human waiver of spine: No
Acceptance plan: N/A; Routine documentation and prompt clarification.
Human decisions resolved and recorded: N/A; no plan required.
Plan / Interface PR: N/A
Approved commit baseline: N/A
Combined/exemption rationale: Routine work is acceptance-plan exempt.
Interface conformance
No runtime, public API, operator configuration, persistence, or trust-boundary interface changes.
go test ./cmd/mecatui -run 'TestProviderSetup|TestProviderHelp' -count=1
git diff --check also passes. Full repository gates were not run because the only Go change is provider setup/help copy with focused unit coverage.
Changes
File
Change
cmd/mecatui/provider_*
Explain and test the custom provider ID grammar in setup and help.
user-docs/mecatui/
Make the first-run checkpoint and provider/model recovery path explicit.
user-docs/features/choose-models.md
Separate authentication types and add the custom provider workflow.
user-docs/building/deployment/mecated.md
Clarify that ToolHive manages access to an external LLM gateway.
User-facing change
New users can identify which credentials they need, configure valid custom provider IDs, select the custom provider as the embedded default, and diagnose provider/model failures without conflating provider login with remote Mecatl login. The interactive custom-provider prompt now states the accepted ID format.
Special notes for reviewers
This does not fix two underlying product limitations: custom provider setup does not automatically make that provider the embedded default, and model discovery does not guarantee that a later inference request will match the gateway's supported request shape or entitlements.
This looks pretty good! But, do we want to sanitize and maybe auto-fix a wrongly given name? Maybe that makes the experience smoother
@jhrozek mentioned on Discord that he'd already submitted a PR to at least make the error message more clear (this one goes another step to make the dialog clear up-front). It likely could be smoother, though I'd see that as separate from clarifying docs.
This looks pretty good! But, do we want to sanitize and maybe auto-fix a wrongly given name? Maybe that makes the experience smoother
@jhrozek mentioned on Discord that he'd already submitted a PR to at least make the error message more clear (this one goes another step to make the dialog clear up-front). It likely could be smoother, though I'd see that as separate from clarifying docs.
That's ok, I was just saying in case you had some cycles to do that.
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
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
Issue relationship
No linked issue.
Type of change
Test plan
Baseline checks
task lint)task test)go run ./cmd/mecademo)task docs)task site:build)task api:check)task api:update+engine/CHANGELOG.mdtask ac-trace-strict)/panel-reviewTargeted CLI tests:
git diff --checkalso passes. Full repository gates were not run because the only Go change is provider setup/help copy with focused unit coverage.Changes
cmd/mecatui/provider_*user-docs/mecatui/user-docs/features/choose-models.mduser-docs/building/deployment/mecated.mdUser-facing change
New users can identify which credentials they need, configure valid custom provider IDs, select the custom provider as the embedded default, and diagnose provider/model failures without conflating provider login with remote Mecatl login. The interactive custom-provider prompt now states the accepted ID format.
Special notes for reviewers
This does not fix two underlying product limitations: custom provider setup does not automatically make that provider the embedded default, and model discovery does not guarantee that a later inference request will match the gateway's supported request shape or entitlements.