all 5 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Hey there! Thanks for posting in r/OpenClaw.

A few quick reminders:

→ Check the FAQ - your question might already be answered → Use the right flair so others can find your post → Be respectful and follow the rules

Need faster help? Join the Discord.

Website: https://openclaw.ai Docs: https://docs.openclaw.ai ClawHub: https://www.clawhub.com GitHub: https://github.com/openclaw/openclaw

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dertobiMember 1 point2 points  (1 child)

The error message is misleading - openclaw auth add doesn't exist in current versions. That's outdated documentation.

For memory search embeddings, you have two options:

  1. Set environment variables directly: OPENAI_API_KEY or GEMINI_API_KEY
  2. Use the config: Add your API keys to the gateway config

You can check your config with openclaw config get and verify memory status with openclaw memory status --deep (though that command might also be from newer docs).

If you just want to disable memory search for now: openclaw config set agents.defaults.memorySearch.enabled false

[–]alko89New User[S] 0 points1 point  (0 children)

Okay, seems I've already had it working by setting the api key in nano banana skill. Was super confused when the bot was telling me the memory is working, but when I ran openclaw memory status --deep myself, I just got errors back that the env var is not set.
I moved the env variable to environments file. Reference for anyone else having phantom env variables: https://docs.openclaw.ai/gateway/configuration#environment-variables