Summary
When agents.defaults.memorySearch.provider is set to local (with a valid GGUF embedding model) and the memory index is successfully built via openclaw memory index, the chat tools memory_search and memory_get still fail with an auth error requiring remote API keys (OpenAI/Google).
This looks like the same class of issue as #3740 (local/self-hosted providers fail auth checks despite not requiring API keys), but for the memory tools path.
Environment
- OpenClaw: 2026.2.1
- OS: Linux x64
- Gateway: local systemd service
Config
agents: {
defaults: {
memorySearch: {
enabled: true,
provider: "local",
fallback: "none",
local: {
modelPath: "/home/robo/.openclaw/workspace/tools/models/embeddinggemma-300M-Q8_0.gguf"
},
sync: { onSessionStart: true, onSearch: true, watch: true },
query: { hybrid: { enabled: true } }
}
}
}
What works (CLI)
openclaw memory index --verbose → Memory index updated (main)
openclaw memory status shows:
- Provider: local (requested: local)
- Indexed: 5/5 files · 6 chunks
- Vector: ready
What fails (tools)
Calling memory_search / memory_get tools fails with an auth error similar to:
No API key found for provider "openai". You are authenticated with OpenAI Codex OAuth.
Use openai-codex/gpt-5.2 (ChatGPT OAuth) or set OPENAI_API_KEY for openai/gpt-5.2.
No API key found for provider "google". Auth store: .../auth-profiles.json ...
This happens even though memorySearch.provider=local and fallback=none.
Expected behavior
memory_search / memory_get should work with memorySearch.provider=local without requiring any remote API keys.
Actual behavior
The tools appear to go through an auth validation path that still requires OpenAI/Google API keys.
Related
Summary
When
agents.defaults.memorySearch.provideris set tolocal(with a valid GGUF embedding model) and the memory index is successfully built viaopenclaw memory index, the chat toolsmemory_searchandmemory_getstill fail with an auth error requiring remote API keys (OpenAI/Google).This looks like the same class of issue as #3740 (local/self-hosted providers fail auth checks despite not requiring API keys), but for the memory tools path.
Environment
Config
What works (CLI)
openclaw memory index --verbose→ Memory index updated (main)openclaw memory statusshows:What fails (tools)
Calling
memory_search/memory_gettools fails with an auth error similar to:This happens even though
memorySearch.provider=localandfallback=none.Expected behavior
memory_search/memory_getshould work withmemorySearch.provider=localwithout requiring any remote API keys.Actual behavior
The tools appear to go through an auth validation path that still requires OpenAI/Google API keys.
Related