Skip to content

fix(doctor): accept bare custom provider#15781

Closed
helix4u wants to merge 1 commit into
NousResearch:mainfrom
helix4u:fix/doctor-accept-bare-custom-provider
Closed

fix(doctor): accept bare custom provider#15781
helix4u wants to merge 1 commit into
NousResearch:mainfrom
helix4u:fix/doctor-accept-bare-custom-provider

Conversation

@helix4u

@helix4u helix4u commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat bare model.provider: custom as valid in hermes doctor.
  • Keep named custom providers like custom:neuralwatt on the existing resolver path.
  • Add a regression test for the false-positive doctor warning.

Why

hermes doctor already includes custom in its known-provider set, but then tried to resolve it through the named/custom provider resolver. That resolver returns entries for named providers such as custom:neuralwatt, but not the bare anonymous custom provider, so doctor reported a valid config as unknown while also listing custom as valid.

Test plan

  • scripts/run_tests.sh tests/hermes_cli/test_doctor.py -k "bare_custom_provider or named_provider_from_providers_section": 2 passed, 2 warnings
  • scripts/run_tests.sh: 66 failed, 15628 passed, 40 skipped, 184 warnings in 359.48s

The full-suite failures are outside this doctor change and match the current unrelated failing areas in gateway/provider tests.

@helix4u helix4u marked this pull request as ready for review April 25, 2026 20:52
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/cli CLI entry point, hermes_cli/, setup wizard area/config Config system, migrations, profiles labels Apr 25, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Merged via #15823 with your authorship preserved via cherry-pick (commit b2d3308). Thanks @helix4u — clean fix, regression test included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/cli CLI entry point, hermes_cli/, setup wizard P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants