Skip to main content

Missing Control Plane Login

If a Control Plane command says you are not authenticated:
For automation, use tm auth status --exit-status when you need a shell-friendly local readiness check for both the Control Plane token and the current gateway credentials. tm auth status only reports local credential presence; tm auth whoami is the live validation step. If tm auth login appears to wait forever in a remote shell, rerun it with an explicit ceiling such as tm auth login --no-open-browser --max-wait-seconds 60.

Missing Inference Credentials

If tm infer chat reports a missing API key or model name, set gateway_api_key under [overrides] in your config.toml, or pass --api-key and --model on the command line:
Control Plane auth (tm auth login) is separate from the inference API key and does not substitute for one when calling serverless inference. If a streaming request stalls because the upstream stops sending events, rerun with a smaller or larger idle timeout:

Config Resolution Confusion

If the CLI is picking up the wrong config or env values:
Use tm infer doctor --exit-status when you specifically want to gate a direct inference path. Use tm auth status --exit-status when you specifically want to gate the broader local auth-and-gateway prerequisites.

TLS Or Connectivity Problems

If your environment needs a custom CA bundle: