fix: restore claude cli guidance and doctor behavior

This commit is contained in:
Peter Steinberger
2026-04-06 14:20:51 +01:00
parent 445133b865
commit d378a504ac
23 changed files with 108 additions and 446 deletions

View File

@@ -177,10 +177,8 @@ This maps to Anthropic's `context-1m-2025-08-07` beta header.
This only applies when `context1m: true` is set on that model entry.
Requirement: the credential must be eligible for long-context usage (API key
billing, or OpenClaw's Claude-login path with Extra Usage enabled). If not,
Anthropic responds
with `HTTP 429: rate_limit_error: Extra usage is required for long context requests`.
Requirement: the credential must be eligible for long-context usage. If not,
Anthropic responds with a provider-side rate limit error for that request.
If you authenticate Anthropic with OAuth/subscription tokens (`sk-ant-oat-*`),
OpenClaw skips the `context-1m-*` beta header because Anthropic currently