Skip to content

[配置不生效]llm-model及embedding配置不生效的问题 #11

@ikaroschanbc

Description

@ikaroschanbc

配置openclaw.json及openclaw.Plugin.json下的llm、embedding本地模型,重启后仍不生效,详见如下配置:

openclaw.json配置:
"plugins": {
"slots": {
"contextEngine": "graph-memory"
},
"entries": {
"graph-memory": {
"enabled": true,
"config": {
"llm": {
"apiKey": "sk-local",
"baseURL": "https://127.0.0.1/8080/v1",
"model": "Qwen3.5-122B-A10B-heretic-v2.Q5_K_M"
},
"embedding": {
"apiKey": "sk-local",
"baseURL": "https://127.0.0.1/8080/v1",
"model": "Qwen3-Embedding-4B-Q5_K_M",
"dimensions": 0
}
}
}
}
}

openclaw.Plugin.json部分配置:
"embedding": {
"type": "object",
"description": "可选:向量搜索配置。配了用语义搜索+去重,没配用 FTS5 全文搜索",
"properties": {
"apiKey": { "type": "string", "description": "sk-local" },
"baseURL": { "type": "string", "default": "https://127.0.0.1/8080/v1", "description": "API 地址" },
"model": { "type": "string", "default": "Qwen3-Embedding-4B-Q5_K_M", "description": "模型名" },
"dimensions": { "type": "integer", "default": 0, "description": "向量维度" }
}
},
"llm": {
"type": "object",
"description": "可选:LLM 配置。不配则用 OpenClaw 全局 provider",
"properties": {
"apiKey": { "type": "string" },
"baseURL": { "type": "string", "default": "https://127.0.0.1/8080/v1" },
"model": { "type": "string", "default": "Qwen3.5-122B-A10B-heretic-v2.Q5_K_M" }
}

环境及运行环境:Ubuntu24.04;内核版本6.17.0-1012-oem;ROCM7.2;llama.cpp

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions