Skip to main content

What This Checks

tm infer doctor is a local readiness check for the next inference request. It helps you confirm that the CLI has the inputs it needs, but it does not send a live inference request. Use tm infer chat for an end-to-end inference check, and use tm auth whoami if you also need to confirm the current Control Plane bearer token.

Usage

Examples

Inspect serverless readiness for a direct request that will provide --model explicitly.

Inspect the effective serverless target after applying explicit request overrides.

Use shell-friendly exit codes when direct serverless prerequisites are missing.

Details

Inspect inference readiness for the next request.

Options

Inherited Global Options

Caveats

  • Reports local readiness only. Use tm auth whoami to live-validate Control Plane auth and tm infer chat for an end-to-end inference check.
  • tm infer doctor accepts the same local targeting overrides as tm infer chat for --model, --api-key, and --base-url.
  • Checks the shared inference API key (gateway_api_key) and selected host, but does not live-validate the upstream endpoint.
  • Use tm billing pricing serverless list to discover published serverless model names when you have Control Plane access for the same Tensormesh environment. tm infer doctor can check whether --model is present, but it does not enumerate them itself.

Parent Command