mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 07:21:23 +00:00
Fix: Doctor refers to deprecated auth command
Replaces deprecated 'openclaw auth add --provider' with 'openclaw configure --section provider' in doctor-memory-search.ts Closes #18535
This commit is contained in:
committed by
Peter Steinberger
parent
facfa410a7
commit
0af795287a
@@ -54,7 +54,7 @@ export async function noteMemorySearchHealth(cfg: OpenClawConfig): Promise<void>
|
||||
"",
|
||||
"Fix (pick one):",
|
||||
`- Set ${envVar} in your environment`,
|
||||
`- Add credentials: ${formatCliCommand(`openclaw auth add --provider ${resolved.provider}`)}`,
|
||||
`- Add credentials: ${formatCliCommand("openclaw configure --section provider")}`,
|
||||
`- To disable: ${formatCliCommand("openclaw config set agents.defaults.memorySearch.enabled false")}`,
|
||||
"",
|
||||
`Verify: ${formatCliCommand("openclaw memory status --deep")}`,
|
||||
@@ -81,7 +81,7 @@ export async function noteMemorySearchHealth(cfg: OpenClawConfig): Promise<void>
|
||||
"",
|
||||
"Fix (pick one):",
|
||||
"- Set OPENAI_API_KEY or GEMINI_API_KEY in your environment",
|
||||
`- Add credentials: ${formatCliCommand("openclaw auth add --provider openai")}`,
|
||||
`- Add credentials: ${formatCliCommand("openclaw configure --section provider")}`,
|
||||
`- For local embeddings: configure agents.defaults.memorySearch.provider and local model path`,
|
||||
`- To disable: ${formatCliCommand("openclaw config set agents.defaults.memorySearch.enabled false")}`,
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user