fix(doctor): reuse resolved memory config at Memory Provider section

Follow-up to salvaged #100677: the file checks read the memory section via the
run's hermes_home while the Memory Provider section re-read config with no
argument (module-global HERMES_HOME). Resolve once and reuse so both sections
report against the same config.
This commit is contained in:
Teknium
2026-09-02 05:58:57 -07:00
parent 21cebbfd68
commit af86ad0479

View File

@@ -3282,7 +3282,7 @@ def run_doctor(args):
check_warn("No GITHUB_TOKEN", f"(60 req/hr rate limit — set in {_DHH}/.env for better rates)")
_section("Memory Provider")
_active_memory_provider = _doctor_memory_config().get("provider", "")
_active_memory_provider = _memory_config.get("provider", "")
if not _active_memory_provider:
check_ok("Built-in memory active", "(no external provider configured — this is fine)")