Skip to content

[Bug]: memory status --index and --deep fail with "Unknown memory embedding provider: google" on 2026.6.1 #90786

Closed as not planned

Description

@fenglanhua

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.probeEmbeddingAvailability

Impact 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.

Activity

  1. clawsweeper commented on Jun 5, 2026

    @clawsweeper
    Contributor

    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: canonical
    Canonical: #90786
    Summary: This issue owns the remaining Google embedding-ID compatibility question; its direct implementation candidates closed without merging.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Maintainer decision needed

    • Question: Should google remain an unsupported embedding ID with guided gemini recovery, or become an explicitly supported alias?
    • Recommendation: Guide recovery to gemini: Explain the canonical provider ID through the existing configuration or Doctor flow while preserving custom-provider resolution.
    • Why: The documented contract specifies gemini, the reporter confirmed that recovery, and a repository member explicitly preserved the alias question without choosing its resolution.

    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:

    • No recorded decision establishes whether google should become an embedding alias or receive guidance toward canonical gemini.
    • Authentication-owner fallback could change exact custom-provider selection if implemented broadly.

    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:

    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 15, 2026, 10:38 PM ET / October 16, 2026, 02:38 UTC.

  2. added
    P1High-priority user-facing bug, regression, or broken workflow.
    impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.
    impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.
    issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
    clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.
    on Jun 5, 2026
  3. fenglanhua commented on Jun 6, 2026

    @fenglanhua
    Author

    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.

  4. fenglanhua commented on Jun 6, 2026

    @fenglanhua
    Author

    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.

  5. added a commit that references this issue on Jun 8, 2026
    29b2518
  6. 41 remaining items

  7. added
    impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    and removed
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    on Aug 24, 2026
  8. added
    P2Normal backlog priority with limited blast radius.
    clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.
    and removed
    P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.
    clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.
    on Oct 10, 2026
  9. steipete commented on Oct 24, 2026

    @steipete
    Contributor

    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.

  10. steipete commented on Oct 24, 2026

    @steipete
    Contributor

    Fixed in #182250, merged as 68d8b33fa06b587c173ed691273daf7a5fef76c1.

    memorySearch.provider: "google" is now a supported alias for the existing Gemini embedding adapter. It retains the canonical gemini provider and index identity, so switching the spelling does not require reindexing.

    Thanks @fenglanhua for the report, and @LiLan0125 and @dwc1997 for the earlier proposals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.regressionBehavior that previously worked and now fails

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions