GoodMem
ReferenceCLI

Doctor

Doctor CLI command reference

goodmem doctor

Suggest endpoint_url/api_path for provider endpoints

Synopsis

Suggest {endpoint_url, api_path} pairs by trying pragmatic heuristics against a raw provider URL.

This command is intentionally CLI-only and may include semantic "best guess" suggestions (e.g. splitting /embeddings out of the URL) that do NOT belong in server-side persistence/inference code.

Options

  -h, --help               help for doctor
      --insecure           Skip TLS certificate verification (for dev/self-signed endpoints)
      --max int            Max suggestions to print (default 2)
      --max-probe int      Max candidates to probe (0 means probe none) (default 16)
      --model string       Optional model identifier. If provided, doctor attempts best-effort checks (e.g. /v1/models, /api/tags, /info) to see whether the model appears to exist on the target.
      --no-probe           Do not attempt network probes; print suggestions only
      --provider string    Optional provider override (rare). If omitted, doctor infers provider from hostname/path when possible (e.g. api.voyageai.com -> VOYAGE).
      --timeout duration   Per-candidate probe timeout (default 2s)
      --verbose            Print verbose notes and probe details

Options inherited from parent commands

      --api-key string   API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
      --server string    GoodMem server address (gRPC API) (default "https://localhost:9090")

SEE ALSO