Skip to content

hermes doctor tells image_gen users to configure a provider, not "system dependency not met" (#9516, salvage #9548) - #109136

Merged
teknium1 merged 3 commits into
mainfrom
fix/doctor-image-gen-hint
Sep 12, 2026
Merged

teknium1 merged 3 commits into
mainfrom
fix/doctor-image-gen-hint

Conversation

@teknium1

@teknium1 teknium1 commented Sep 12, 2026 •

Copy link
Copy Markdown
Collaborator

hermes doctor reports image_gen (no image generation provider configured — set one up with 'hermes tools') and counts it toward the "run hermes setup" summary.

  • image_gen has several setup paths (FAL_KEY, managed Nous image generation, plugin providers) so it declares no single requires_env; doctor's generic branch mislabelled a missing credential as a system dependency and left it out of the summary.
  • A small per-toolset setup-hint table in hermes_cli/doctor_tools.py; toolsets with a genuine system dependency (homeassistant) keep the old wording.

Live repro: test test_image_gen_without_provider_reports_setup_hint_not_system_dependency red on origin/main (⚠ image_gen (system dependency not met)), green here.

Salvage of #9548 by @skyc1e onto doctor_tools.py; #9540 / #9558 / #9715 / #9757 were narrower variants.

Fixes #9516 (reported by @404Dealer).

Update — review fix

Hint reworded to "image generation unavailable — check the provider selection and its key or SDK with 'hermes tools'" so it is also accurate when a provider is selected but its SDK/key is missing. Commit 34b8d29.

Infographic

doctor-image-gen-hint

skyc1e and others added 2 commits September 12, 2026 06:17
…dependency not met"

image_gen has several setup paths (FAL_KEY, managed Nous image generation,
plugin providers) so it declares no single `requires_env`; doctor's generic
branch then labelled a missing credential a "system dependency not met" and
left it out of the "run hermes setup" summary.

A small per-toolset setup-hint table: image_gen gets an actionable line
pointing at `hermes tools`, counts toward the setup summary, and toolsets
with a genuine system dependency (homeassistant) keep the old wording.

Port of PR #9548 by @skyc1e onto `hermes_cli/doctor_tools.py`.

Fixes #9516
Windows-footgun ratchet for the file touched by this fix (no behaviour change).
@github-actions

github-actions Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

૮ >ﻌ< ა ci review

ran on 34b8d29 — fix(doctor): image_gen hint covers a selected provider with

⚠️ Warnings

OSV vulnerability scan · View job

76 known vulnerabilities found in pinned dependencies.

How to fix:

Review the findings in the Security tab. Update the affected dependencies if a patched version is available.


CI timings · View report · View job

Wall time 7m2s vs 5m17s (+33.1%). 8 job(s) slower, 4 faster, 2 unchanged.

  • OS-specific tests / Windows-only tests: +35.0s
  • Python tests / Run tests: -9.0s
  • Python tests / e2e: +8.0s
  • Check contributors / check-attribution: +6.0s
  • Detect affected areas: +3.0s

… key or SDK

Review finding on #109136: "no provider configured" was wrong when a provider IS
selected but its SDK/key is absent. Word it as unavailable + where to look.
@teknium1
teknium1 merged commit 5685b76 into main Sep 12, 2026
37 checks passed
@teknium1
teknium1 deleted the fix/doctor-image-gen-hint branch September 12, 2026 15:24
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.

[Bug]: hermes doctor reports image_gen as “system dependency not met” instead of missing FAL_KEY / Nous auth

2 participants