Skip to main content

Module doctor

Module doctor 

Structs§

DiagResult
Structured diagnostic result for programmatic consumption (web dashboard, API).

Enums§

Severity

Functions§

diagnose
Run diagnostics and return structured results (for API/web dashboard).
fetch_provider_catalog
Fetch a provider’s live model catalog — the model IDs advertised by its /models endpoint. Extracted from the catalog probe so models list --check (configured-model verification) and future interactive flows (the quickstart model picker, which also wants pricing) share one fetch path.
persist_model_cache
Persist the fetched model catalog to the shared cache location so that /model can display available models without a live probe.
run
Run diagnostics and print human-readable report to stdout.
run_configured_models
run_models
run_structured
Run the full Doctor suite and return the structured result used by CLI and RPC.
run_structured_with_timeout
Run Doctor with a per-phase timeout for the network-dependent probe phase.
run_traces
update_context_windows
Update context_window in config.toml from provider /models endpoints. Returns the number of providers updated.