Skip to content

fix(desktop): reflect active toolset provider in config panel#37283

Merged
jquesnelle merged 1 commit into
mainfrom
fix-toolset-provider-selection-display
Jun 2, 2026
Merged

fix(desktop): reflect active toolset provider in config panel#37283
jquesnelle merged 1 commit into
mainfrom
fix-toolset-provider-selection-display

Conversation

@jquesnelle

Copy link
Copy Markdown
Collaborator

The toolset config panel highlighted the first keyless provider (e.g. Nous Portal) on load instead of the provider actually written to config. The /api/tools/toolsets/{name}/config endpoint never reported which provider was active, so the GUI's default-expand logic fell back to "first configured" — and keyless providers are always "configured".

Backend now annotates each provider with is_active (via the same _is_provider_active helper the CLI 'hermes tools' picker uses) plus a top-level active_provider summary. The panel prefers that signal before falling back to first-configured/first.

Adds a frontend regression test (active provider is expanded on load) and backend coverage (config reports is_active/active_provider; selecting a provider round-trips into the next config read).

The toolset config panel highlighted the first keyless provider (e.g.
Nous Portal) on load instead of the provider actually written to config.
The /api/tools/toolsets/{name}/config endpoint never reported which
provider was active, so the GUI's default-expand logic fell back to
"first configured" — and keyless providers are always "configured".

Backend now annotates each provider with is_active (via the same
_is_provider_active helper the CLI 'hermes tools' picker uses) plus a
top-level active_provider summary. The panel prefers that signal before
falling back to first-configured/first.

Adds a frontend regression test (active provider is expanded on load)
and backend coverage (config reports is_active/active_provider; selecting
a provider round-trips into the next config read).
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

🔎 Lint report: fix-toolset-provider-selection-display vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 9647 on HEAD, 9647 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4997 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@jquesnelle jquesnelle merged commit 89db6c8 into main Jun 2, 2026
23 checks passed
@jquesnelle jquesnelle deleted the fix-toolset-provider-selection-display branch June 2, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant