Skip to content

fix(doctor): replace nonexistent openclaw auth add command with openclaw configure#24470

Closed
habakan wants to merge 2 commits intoopenclaw:mainfrom
habakan:fix/doctor-auth-command-suggestion
Closed

fix(doctor): replace nonexistent openclaw auth add command with openclaw configure#24470
habakan wants to merge 2 commits intoopenclaw:mainfrom
habakan:fix/doctor-auth-command-suggestion

Conversation

@habakan
Copy link
Contributor

@habakan habakan commented Feb 23, 2026

Summary

Fixes #24220

The memory search health check in openclaw doctor was suggesting openclaw auth add --provider <provider> to add credentials, but this command does not exist. Users running the suggested command would just see the top-level help output.

Changes

Replace the nonexistent openclaw auth add command with openclaw configure in two locations:

  • Line 65: specific remote provider without API key
  • Line 92: auto provider with no key found

Test plan

  • pnpm build passes
  • pnpm test -- --run src/commands/doctor-memory-search.test.ts passes

Greptile Summary

Replaces the nonexistent openclaw auth add --provider <provider> command with openclaw configure in memory search health check error messages. The original command would only show help output when users tried to follow the suggested fix. The replacement command is the correct interactive wizard that guides users through setting up credentials (including API keys for providers like OpenAI and Gemini) via the "model" section of the configuration wizard.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • The change is a simple string replacement that fixes broken documentation. The replacement command (openclaw configure) is verified to exist and handle the intended use case (setting up API credentials). No logic changes, no new code introduced, and the fix addresses a real user-facing bug where the suggested command didn't work.
  • No files require special attention

Last reviewed commit: f5a4556

(5/5) You can turn off certain types of comments like style here!

@openclaw-barnacle openclaw-barnacle bot added commands Command implementations size: XS labels Feb 23, 2026
@habakan
Copy link
Contributor Author

habakan commented Feb 23, 2026

Closing as this was already fixed by #22327 which was merged earlier today. Thanks!

@habakan habakan closed this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doctor suggests nonexistent openclaw auth add command

1 participant