

























@@ -4170,6 +4170,15 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
41704170 modelCacheDir: {
41714171 type: "string",
41724172 },
4173+ contextSize: {
4174+ anyOf: [
4175+ { type: "integer", exclusiveMinimum: 0, maximum: 9007199254740991 },
4176+ { type: "string", const: "auto" },
4177+ ],
4178+ title: "Local Embedding Context Size",
4179+ description:
4180+'Context window size passed to node-llama-cpp when creating the embedding context (default: 4096). 4096 safely covers typical memory-search chunks (128\u2013512 tokens) while keeping non-weight VRAM bounded. Lower to 1024\u20132048 on resource-constrained hosts. Set to "auto" to let node-llama-cpp use the model\'s trained maximum \u2014 not recommended for large models (e.g. Qwen3-Embedding-8B trained on 40\u202f960 tokens can push VRAM from ~8.8\u202fGB to ~32\u202fGB).',
4181+ },
41734182 },
41744183 additionalProperties: false,
41754184 },
@@ -6056,6 +6065,12 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
60566065 modelCacheDir: {
60576066 type: "string",
60586067 },
6068+ contextSize: {
6069+ anyOf: [
6070+ { type: "integer", exclusiveMinimum: 0, maximum: 9007199254740991 },
6071+ { type: "string", const: "auto" },
6072+ ],
6073+ },
60596074 },
60606075 additionalProperties: false,
60616076 },
@@ -25150,6 +25165,11 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
2515025165 help: "Specifies the local embedding model source for local memory search, such as a GGUF file path or `hf:` URI. Use this only when provider is `local`, and verify model compatibility before large index rebuilds.",
2515125166 tags: ["storage"],
2515225167 },
25168+"agents.defaults.memorySearch.local.contextSize": {
25169+ label: "Local Embedding Context Size",
25170+ help: 'Context window size passed to node-llama-cpp when creating the embedding context (default: 4096). 4096 safely covers typical memory-search chunks (128\u2013512 tokens) while keeping non-weight VRAM bounded. Lower to 1024\u20132048 on resource-constrained hosts. Set to "auto" to let node-llama-cpp use the model\'s trained maximum \u2014 not recommended for large models (e.g. Qwen3-Embedding-8B trained on 40\u202f960 tokens can push VRAM from ~8.8\u202fGB to ~32\u202fGB).',
25171+ tags: ["advanced"],
25172+ },
2515325173"agents.defaults.memorySearch.store.path": {
2515425174 label: "Memory Search Index Path",
2515525175 help: "Sets where the SQLite memory index is stored on disk for each agent. Keep the default `~/.openclaw/memory/{agentId}.sqlite` unless you need custom storage placement or backup policy alignment.",
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。