Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
After upgrading from 2026.5.26 to 2026.6.1, openclaw memory status --index and --deep both fail with Unknown memory embedding provider: google. The memory status command works normally and shows provider: google, but any operation requiring embedding provider initialization crashes.
Steps to reproduce
Set agents.defaults.memorySearch.provider to "google"
Run openclaw memory status --index --agent main
Run openclaw memory status --deep
Expected behavior
--index should rebuild the memory index using the configured Google embedding provider. --deep should probe embedding provider availability.
Actual behavior
Error: Unknown memory embedding provider: google
at getAdapter (manager-dZw31DAG2.js:97:8)
at createEmbeddingProvider (manager-dZw31DAG2.js:127:25)
at MemoryIndexManager.loadProviderResult
at MemoryIndexManager.ensureProviderInitialized
at MemoryIndexManager.probeEmbeddingAvailability
Note
openclaw memory status (without flags) works and shows Provider: google. The failure only occurs when embedding provider initialization is required (--index, --deep). This was also present in 2026.5.28.
OpenClaw version
OpenClaw: 2026.6.1 (2e08f0f)
Operating system
Rocky Linux, Node v24.14.1
Install method
npm install -g openclaw / openclaw update
Model
google/gemini-3-flash-preview (main model), memorySearch configured with google provider
Provider / routing chain
Google AI Studio API key → OpenClaw Gateway → memorySearch (google/gemini-embedding-001)
Additional provider/model setup details
"memorySearch": {
"extraPaths": [
"/path/to/memory/"
],
"enabled": true,
"remote": {
"batch": {
"enabled": false
}
},
"provider": "google"
}
Logs, screenshots, and evidence
memory status --json show:
json"indexIdentity": {
"status": "mismatched",
"reason": "index was built for model gemini-embedding-001, expected "
},
"providerState": {
"mode": "pending",
"requestedProvider": "google"
}
--index full stack trace:
Error: Unknown memory embedding provider: google
at getAdapter (manager-dZw31DAG2.js:97:8)
at createEmbeddingProvider (manager-dZw31DAG2.js:127:25)
at MemoryIndexManager.loadProviderResult
at MemoryIndexManager.ensureProviderInitialized
at MemoryIndexManager.probeEmbeddingAvailabilityImpact and severity
Affected: Users configuring Google as memorySearch provider on any platform
Severity: High — vector search completely unavailable, no way to rebuild index with google provider
Frequency: Always (100% reproducible after upgrade)
Consequence: Memory semantic search paused indefinitely, only FTS keyword search available
Additional information
Last known good version: 2026.5.26 (provider: auto → correctly selected gemini-embedding-001). First known bad version: 2026.5.28 (regression first observed). Still present in 2026.6.1. No workaround available for google provider users without an OpenAI API key.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 5, 2026
Codex review: this still needs some work.
Summary
This issue remains an unresolved, maintainer-engaged compatibility question: current source rejects the unconfigured google embedding ID, and none of the candidate fixes merged.
Reproducibility: Current source establishes the failure for an unconfigured google embedding ID through the CLI initialization path; no live reproduction was run, and prior support for that ID is not established.
Root-cause cluster
Relationship:
canonicalCanonical: #90786
Summary: This issue owns the remaining Google embedding-ID compatibility question; its direct implementation candidates closed without merging.
Members:
partial_overlap: fix(memory): resolve Google embedding provider alias #117976 - Closed unmerged candidate for resolving google through authentication-owner matching.partial_overlap: fix(memory): resolve embedding provider by authProviderId fallback #91310 - Earlier closed unmerged shared-resolver proposal for the same failing configuration.partial_overlap: fix(google): register 'google' alias for memory embedding provider #91444 - Closed unmerged proposal to register a second Google adapter ID.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Maintainer decision needed
Next step
Choose guided gemini recovery or explicit alias support, then require a failing CLI regression for the chosen behavior before implementation.
Review details
Best possible solution:
Provide actionable recovery to canonical gemini unless maintainers approve an explicit Google embedding alias.
Do we have a high-confidence way to reproduce the issue?
Current source establishes the failure for an unconfigured google embedding ID through the CLI initialization path; no live reproduction was run, and prior support for that ID is not established.
Is this the best way to solve the issue?
Guided canonical configuration recovery fits the documented contract and compatibility policy; broad authProviderId matching would expand selection semantics without an established requirement.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against 18044d5bb00b.
Label changes
Label changes:
No label changes.
Label justifications:
P2: The affected provider setting prevents semantic indexing, but the reporter confirmed a working gemini configuration.impact:auth-provider: The failure occurs during embedding provider selection before embedding execution.impact:ux-friction: Different authentication and embedding IDs require avoidable configuration troubleshooting.Evidence reviewed
What I checked:
extensions/google/memory-embedding-adapter.ts:17, 204ff9770617)src/plugins/embedding-provider-runtime.ts:33, 204ff9770617)extensions/memory-core/src/memory/embeddings.ts:54, 204ff9770617)extensions/memory-core/src/cli-status.runtime.ts:242, 204ff9770617)docs/reference/memory-config.md:112, 204ff9770617)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 15, 2026, 10:38 PM ET / October 16, 2026, 02:38 UTC.
fenglanhua commentedon Jun 6, 2026
Before upgrading, no memorySearch.provider was set in openclaw.json — the system used auto which correctly resolved to gemini-embedding-001. After upgrading to 2026.6.1, the default silently changed to openai without migration or warning.
The simplest fix would be to preserve auto as the default across upgrades, rather than switching to openai. Users who had auto working should not need to manually reconfigure after upgrade.
Related: #90786 confirms the Google memory adapter is registered as gemini, not google. So even if users manually set provider: "google" as a workaround, it still fails. The correct provider id appears to be gemini, but this is undocumented and not surfaced anywhere in the upgrade path.
fenglanhua commentedon Jun 6, 2026
Update after testing workaround:
Setting memorySearch.provider: gemini (as ClawSweeper suggested — canonical id for the Google memory adapter) correctly resolves to gemini-embedding-001 after upgrade. --deep confirms Vector store: ready, Dirty: no.
However, this reveals a follow-on regression: the memory watcher no longer auto-indexes new files after upgrade to 6.1. In 2026.5.26, adding files to the extra path triggered automatic embedding. In 2026.6.1, gateway.log shows no memory/embed/sync activity — new files remain unindexed until openclaw memory status --index --agent main is run manually.
Additionally, memory status (without flags) shows Dirty: yes / vector search paused even when --deep confirms the index is healthy. The two commands report inconsistent state.
Filed as #90801 for tracking. These three issues (#90786, #90787, #90801) all reproduce on the same upgrade path: Rocky Linux, 2026.5.26 → 2026.6.1, Google provider.
fix(memory): centralize authProviderId fallback in shared embedding p…
41 remaining items
steipete commentedon Oct 24, 2026
Thanks for filing this. We're closing older issues that no longer look actionable on current
main.The memory embedding provider id is gemini, and google was never a supported embedding id. Please set agents.defaults.memorySearch.provider to gemini; open a fresh issue if that still fails on a current release.
fix(memory): accept google as a Gemini embedding alias (#182250)
steipete commentedon Oct 24, 2026
Fixed in #182250, merged as 68d8b33fa06b587c173ed691273daf7a5fef76c1.
memorySearch.provider: "google"is now a supported alias for the existing Gemini embedding adapter. It retains the canonicalgeminiprovider and index identity, so switching the spelling does not require reindexing.Thanks @fenglanhua for the report, and @LiLan0125 and @dwc1997 for the earlier proposals.
fix(memory): accept google as a Gemini embedding alias (openclaw#182250)