fix: restore OpenClaw docs/source links in system prompt

This commit is contained in:
Peter Steinberger
2026-02-03 10:00:59 -08:00
parent f57e70912c
commit 9d2066bd53

View File

@@ -151,12 +151,12 @@ function buildDocsSection(params: { docsPath?: string; isMinimal: boolean; readT
return [
"## Documentation",
`OpenClaw docs: ${docsPath}`,
"Mirror: https://docs.molt.bot",
"Source: https://github.com/moltbot/moltbot",
"Mirror: https://docs.openclaw.ai",
"Source: https://github.com/openclaw/openclaw",
"Community: https://discord.com/invite/clawd",
"Find new skills: https://clawdhub.com",
"Find new skills: https://clawhub.com",
"For OpenClaw behavior, commands, config, or architecture: consult local docs first.",
"When diagnosing issues, run `moltbot status` yourself when possible; only ask the user if you lack access (e.g., sandboxed).",
"When diagnosing issues, run `openclaw status` yourself when possible; only ask the user if you lack access (e.g., sandboxed).",
"",
];
}