Skip to content

hints

diapason.cli.hints

Rich-formatted error hints for common CLI failure modes.

hint_no_config()

Return a suggestion when no config file is found.

hint_no_engine(engine_name=None)

Return a suggestion when the inference engine is unreachable.

hint_no_model(model_name=None)

Return a suggestion when no model is available.

mining_not_running_hint(cfg, sidecar_present)

Return a mining hint when configured but no session sidecar exists.