Install
openclaw skills install responses-third-party-prompt-cache-patchPatch an installed OpenClaw dist bundle so third-party OpenAI-compatible Responses endpoints keep prompt_cache_key and prompt_cache_retention instead of having them stripped. Use when the user wants a local patch on a machine running OpenClaw, not an upstream refactor or config change, and needs a workflow with dry-run, backup, rollback, syntax validation, and upgrade-aware reapply.
openclaw skills install responses-third-party-prompt-cache-patchPatch the installed OpenClaw dist bundle so shouldStripResponsesPromptCache(model) stops deleting prompt_cache_key and prompt_cache_retention for third-party OpenAI-compatible Responses endpoints.
Source: https://github.com/tsunheimat/openclaw-responses-prompt-cache-patch
clawhub install responses-third-party-prompt-cache-patch --workdir ~/.openclaw/workspace
dist/.Run from this skill directory:
python3 scripts/patch_prompt_cache.py --dry-run
python3 scripts/patch_prompt_cache.py
openclaw gateway restart
python3 scripts/revert_prompt_cache.py
openclaw gateway restart
openclaw executable.--root /path/to/openclaw to patch a copied fixture or a different installation.dist/pi-embedded-*.js first, then fall back to other dist/*.js bundles only if the target function moved.scripts/patch_prompt_cache.py--dry-runshouldStripResponsesPromptCache(model)node --check after writingscripts/revert_prompt_cache.py--dry-runnode --check--dry-run on the real installation.--root <fixture> for real apply testing.