Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

docs(multi-tenant): rename agentId to agent_prefix per #1783 (#1786)

Evoae250fdcfa10
diff --git a/docs/en/concepts/11-multi-tenant.md b/docs/en/concepts/11-multi-tenant.md
index eece0b513..b95d10157 100644
--- a/docs/en/concepts/11-multi-tenant.md
+++ b/docs/en/concepts/11-multi-tenant.md
@@ -184,7 +184,7 @@ curl http://localhost:1933/api/v1/fs/ls?uri=viking:// \
The current OpenClaw plugin follows a "plugin holds one user identity" model:
-- Remote mode config is `baseUrl + apiKey + agentId`
+- Remote mode config is `baseUrl + apiKey + agent_prefix`
- `apiKey` should normally be a user key
- The server resolves `account_id` and `user_id` from that user key
- The plugin explicitly passes `X-OpenViking-Agent`
@@ -195,7 +195,7 @@ Typical config:
openclaw config set plugins.entries.openviking.config.mode remote
openclaw config set plugins.entries.openviking.config.baseUrl "http://your-server:1933"
openclaw config set plugins.entries.openviking.config.apiKey "<user-api-key>"
-openclaw config set plugins.entries.openviking.config.agentId "<agent-id>"
+openclaw config set plugins.entries.openviking.config.agent_prefix "<agent-prefix>"
```
Characteristics of this model:
diff --git a/docs/zh/concepts/11-multi-tenant.md b/docs/zh/concepts/11-multi-tenant.md
index 9994e08d9..4c1fbf44a 100644
--- a/docs/zh/concepts/11-multi-tenant.md
+++ b/docs/zh/concepts/11-multi-tenant.md
@@ -184,7 +184,7 @@ curl http://localhost:1933/api/v1/fs/ls?uri=viking:// \
OpenClaw 插件当前的多租户实践是“插件侧只持有一个用户身份”:
-- 远程模式配置 `baseUrl + apiKey + agentId`
+- 远程模式配置 `baseUrl + apiKey + agent_prefix`
- `apiKey` 推荐配置为某个 user 的 user key
- 服务端从 user key 自动解析 `account_id` 和 `user_id`
- 插件显式传递 `X-OpenViking-Agent`
@@ -195,7 +195,7 @@ OpenClaw 插件当前的多租户实践是“插件侧只持有一个用户身
openclaw config set plugins.entries.openviking.config.mode remote
openclaw config set plugins.entries.openviking.config.baseUrl "http://your-server:1933"
openclaw config set plugins.entries.openviking.config.apiKey "<user-api-key>"
-openclaw config set plugins.entries.openviking.config.agentId "<agent-id>"
+openclaw config set plugins.entries.openviking.config.agent_prefix "<agent-prefix>"
```
这种模式的特点: