feat: add Anthropic fast mode support

This commit is contained in:
Peter Steinberger
2026-03-12 23:38:48 +00:00
parent 52e2a7747a
commit 35aafd7ca8
9 changed files with 271 additions and 1 deletions

View File

@@ -54,6 +54,8 @@ title: "Thinking Levels"
4. Fallback: `off`
- For `openai/*`, fast mode applies the OpenAI fast profile: `service_tier=priority` when supported, plus low reasoning effort and low text verbosity.
- For `openai-codex/*`, fast mode applies the same low-latency profile on Codex Responses. OpenClaw keeps one shared `/fast` toggle across both auth paths.
- For direct `anthropic/*` API-key requests, fast mode maps to Anthropic service tiers: `/fast on` sets `service_tier=auto`, `/fast off` sets `service_tier=standard_only`.
- Anthropic fast mode is API-key only. OpenClaw skips Anthropic service-tier injection for Claude setup-token / OAuth auth and for non-Anthropic proxy base URLs.
## Verbose directives (/verbose or /v)