GoodMemGoodMem
ReferenceCLIDoctor

Doctor

Reference for goodmem doctor: Suggest {endpoint_url, api_path} pairs by trying pragmatic heuristics against a raw provider URL.

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

      --cred-api-key string                API key for provider endpoint (use "-" to read from piped stdin)
      --cred-api-key-file string           Read API key from file (file should be mode 0600)
      --cred-api-key-prompt[=true|false]   Prompt for API key interactively (requires TTY, input hidden)
      --cred-gcp[=true|false]              Use Google Application Default Credentials
      --cred-gcp-quota string              Quota project for Google ADC requests
      --cred-gcp-scope strings             Additional Google ADC OAuth scope (can be specified multiple times)
  -h, --help[=true|false]                  help for doctor
      --insecure[=true|false]              Skip TLS certificate verification (for dev/self-signed endpoints)
      --max int                            Max suggestions to print (default 2)
      --max-probe int                      Max candidate and regional fallback probes (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[=true|false]              Do not attempt network probes; print suggestions only
      --probe-dialect[=true|false]         Actively verify DashScope dialects and, after HTTP 401, official regional hosts (may incur provider usage)
      --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[=true|false]               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 URL (gRPC API; default ports: https=443, http=80)

SEE ALSO

On this page