Skip to content

v1.1 beta 版的 config.embedding 是不是删掉太多配置项目了 #163

@li-yifei

Description

@li-yifei

Plugin Version

1.1.0-beta.5

OpenClaw Version

2026.3.8

Bug Description

我按照 readme 的说明配置 config,但过不了验证

{
...
  "memory-lancedb-pro": {
          "enabled": true,
          "config": {
            "embedding": {
              "baseUrl": "https://generativelanguage.googleapis.com/v1beta/openai/",
              "model": "gemini-embedding-2-preview",
              "dimensions": 1024,
              "apiKey": "{GEMINI_API_KEY}"
            },
            "dbPath": "~/.openclaw/memory/lancedb-pro",
            "autoCapture": true,
            "autoRecall": true,
            "smartExtraction": true,
            "extractMaxChars": 4096,
            "enableManagementTools": true
          }
  }
...
}

Expected Behavior

按照README所提供的配置参考,不会产生如下 error logs

Steps to Reproduce

从 当前 master 分支( commit aa0ec8d ) 安装插件到 /plugins/memory-lancedb-pro,
参考我提供的配置使用 openai 之外的 embedding 模型然后执行 openclaw config validate

Error Logs / Screenshots

$ openclaw config validate
Invalid config at /home/openclaw/.openclaw/openclaw.json:\n- plugins.entries.memory-lancedb-pro.config.embedding: invalid config: must NOT have additional properties

🦞 OpenClaw 2026.3.8 (3caab92) — It's not "failing," it's "discovering new ways to configure the same thing wrong."

Config invalid at ~/.openclaw/openclaw.json:
  × plugins.entries.memory-lancedb-pro.config.embedding: invalid config: must NOT have additional properties

Run `openclaw doctor` to repair, or fix the keys above manually.

Embedding Provider

Gemini

OS / Platform

Ubuntu 24.04, node v24.13.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions