-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: memory_search tool fails with "fetch failed" despite embedding provider configured #47884
Copy link
Copy link
Closed
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingbug:behaviorIncorrect behavior without a crashIncorrect behavior without a crashclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Summary
memory_search tool returns "fetch failed" error despite embedding provider correctly configured
Steps to reproduce
Configure embedding provider in openclaw.json:
{
"bailian-embedding": {
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"apiKey": "sk-***",
"api": "openai-completions",
"models": [{"id": "text-embedding-v3", "name": "text-embedding-v3"}]
}
}
Restart Gateway: openclaw gateway restart
Call memory_search tool with any query
Observe error: "fetch failed" / "embedding/provider error"
Expected behavior
memory_search should:
Actual behavior
memory_search returns error immediately:
{ "results": [], "disabled": true, "unavailable": true, "error": "fetch failed", "warning": "Memory search is unavailable due to an embedding/provider error." } ### OpenClaw version 2026.3.2 ### Operating system macOS 21.6.0 (Darwin x64) ### Install method npm global install ### Model Primary: bailian/qwen3.5-plus Embedding: text-embedding-v3 (Aliyun Bailian) ### Provider / routing chain Provider: bailian (Aliyun DashScope) Base URL: https://coding.dashscope.aliyuncs.com/v1 Embedding Provider: bailian-embedding Embedding Base URL: https://dashscope.aliyuncs.com/compatible-mode/v1 ### Config file / key location openclaw.json ### Additional provider/model setup details _No response_ ### Logs, screenshots, and evidence ```shellImpact and severity
No response
Additional information
No response