Troubleshooting

Diagnose provider, model, routing, and local runtime issues.

Logs

Enable logs only for diagnosis. Redact prompts and credentials before sharing output.

openabcode --print-logs --log-level DEBUG doctor

Storage

Session history, credentials, and local state use opencode-compatible storage locations.

  • Use auth list to inspect connected providers.
  • Use models to confirm model availability.
  • Use doctor to inspect optional env and hosted mode.

Uninstall

Remove binaries, local state, and credentials only after exporting anything you need to keep.

openabcode uninstall --dry-run