-
-
Notifications
You must be signed in to change notification settings - Fork 57.2k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Bug
When replaying session history to Claude, requests fail with:
messages.3.content.0.thinking.signature: Field required
Root Cause
- OpenClaw saves thinking blocks with
thinkingSignaturefield - Some entries in session history have
type: thinkingbut no signature at all - When context is sent back to Claude API, it rejects the malformed thinking blocks
Reproduction
Session JSONL has entries like:
{"type":"thinking","thinking":"..."}Without the required signature field that Claude API now requires.
Suggested Fix
- Sanitize session history before sending to API - strip or fix thinking blocks without signatures
- Ensure all thinking blocks are saved with proper signature field
Workaround
User must run /new to start fresh session.
Environment
- OpenClaw 2026.2.2-3
- Model: claude-opus-4-5-thinking via google-antigravity
Note: Issue #8646 was created with the wrong account (hackathon bot) and should be disregarded.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleMarked as stale due to inactivityMarked as stale due to inactivity