gcloud-lab/apps/base/customer1/openclaw/configmap.yaml
Sirius Claw 41f0b43d3b optimize: trim SOUL.md by ~65%, reduce context injection to curated files only, increase requestTimeout to 180s, enable promptCaching per optimization guide
- SOUL.md now <600 bytes (core invariants only)
- Added context.injectAllMarkdown=false + explicit curated list
- requestTimeoutSeconds=180 for high-param models
- promptCaching=true to avoid reprocessing system prompt every turn
- Fixed missing comma in agents.defaults.model (was invalid JSON)

Per https://github.com/OnlyTerp/openclaw-optimization-guide
2026-04-22 12:45:10 +00:00

90 lines
2.2 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: openclaw-config
namespace: customer1
labels:
app: openclaw
data:
openclaw.json: |
{
"gateway": {
"mode": "local",
"bind": "lan",
"port": 18789,
"auth": {
"mode": "token"
},
"controlUi": {
"enabled": true
}
},
"channels": {
"telegram": {
"enabled": true,
"dmPolicy": "allowlist",
"groupPolicy": "allowlist",
"allowFrom": [
"7528130947"
],
"groups": {
"*": {
"requireMention": false
}
}
}
},
"models": {
"providers": {
"local-vllm": {
"baseUrl": "http://openclaw-brain-service-l4.customer1.svc.cluster.local:8000/v1",
"apiKey": "EMPTY",
"api": "openai-completions",
"models": [
{
"id": "p-e-w/Qwen3-8B-heretic",
"name": "Qwen3-8B-heretic"
},
{
"id": "Li101/Qwen3.5-35B-A3B-Uncensored-Aggressive-safetensors",
"name": "Qwen3.5-35B-A3B-Uncensored-Aggressive",
"reasoning": true,
"contextWindow": 49152
}
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "xai/grok-4.1-fast",
"fallbacks": ["xai/grok-4.1-fast"]
},
"workspace": "/home/node/.openclaw/workspace"
},
"list": [
{
"id": "default",
"name": "OpenClaw Assistant",
"workspace": "/home/node/.openclaw/workspace"
}
]
},
"cron": { "enabled": true },
"requestTimeoutSeconds": 180,
"promptCaching": true,
"context": {
"injectAllMarkdown": false,
"curatedFiles": ["SOUL.md", "MEMORY.md", "IDENTITY.md", "USER.md"],
"useMemorySearch": true
}
}
AGENTS.md: |
# Sirius Claw
Professional, precise, dark humor. Running in Lance's GKE cluster.