mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:50:49 +00:00
fix(openrouter): strip Anthropic reasoning prefill
This commit is contained in:
@@ -177,6 +177,12 @@ inter-session user turns that only have provenance metadata.
|
||||
|
||||
- Thought signature cleanup: strip non-base64 `thought_signature` values (keep base64).
|
||||
|
||||
**OpenRouter Anthropic**
|
||||
|
||||
- Trailing assistant prefill turns are stripped from verified OpenRouter
|
||||
OpenAI-compatible Anthropic model payloads when reasoning is enabled, matching
|
||||
direct Anthropic and Cloudflare Anthropic replay behavior.
|
||||
|
||||
**Everything else**
|
||||
|
||||
- Image sanitization only.
|
||||
|
||||
Reference in New Issue
Block a user