-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Closed
Description
Bug
openclaw doctor suggests a command that doesn't exist when reporting memory search configuration issues:
openclaw auth add --provider openai
There is no openclaw auth command. Running it produces the top-level help output.
Where
src/commands/doctor-memory-search.ts — two locations:
-
Line 65 (specific remote provider, no API key):
`- Add credentials: ${formatCliCommand(`openclaw auth add --provider ${resolved.provider}`)}`,
-
Line 92 (auto provider, no key found):
`- Add credentials: ${formatCliCommand("openclaw auth add --provider openai")}`,
Expected
The fix suggestion should reference a command that actually exists, such as:
openclaw configure(interactive wizard)openclaw config set models.providers.openai.apiKey <key>- Or simply setting the
OPENAI_API_KEYenvironment variable (which is already listed as another option)
Steps to reproduce
- Have memory search enabled with
provider: "openai"(or any remote provider) - Don't have the corresponding API key set
- Run
openclaw doctor - Observe the nonexistent
openclaw auth addcommand in the suggested fix
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels