From 17bad2269651580b8d46a7e85b3ba941aec94e7d Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Sun, 26 Apr 2026 03:21:16 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@7fef13abbc67a93a0cf5438b822c2edfaf44ab72 --- .openclaw-sync/source.json | 4 ++-- docs/providers/anthropic.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index 01aeae2c7..1b6fa7f28 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "862b39976de311e24ec15e09a678f692aa155efa", - "syncedAt": "2026-04-26T03:17:55.250Z" + "sha": "7fef13abbc67a93a0cf5438b822c2edfaf44ab72", + "syncedAt": "2026-04-26T03:19:50.727Z" } diff --git a/docs/providers/anthropic.md b/docs/providers/anthropic.md index 51bc0f7f1..d9c3a007a 100644 --- a/docs/providers/anthropic.md +++ b/docs/providers/anthropic.md @@ -260,6 +260,10 @@ OpenClaw supports Anthropic's prompt caching feature for API-key auth. OpenClaw maps this to `anthropic-beta: context-1m-2025-08-07` on requests. + `params.context1m: true` also applies to the Claude CLI backend + (`claude-cli/*`) for eligible Opus and Sonnet models, expanding the runtime + context window for those CLI sessions to match the direct-API behavior. + Requires long-context access on your Anthropic credential. Legacy token auth (`sk-ant-oat-*`) is rejected for 1M context requests — OpenClaw logs a warning and falls back to the standard context window.