Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
feat(xai): replay Grok reasoning for Claude messages (#3962) master
Add Grok-native reasoning replay for Claude-sourced xAI Responses requests. Replay state is scoped by model and session, normalized to reasoning/function_call/custom_tool_call items, and injected with the same tool-call alignment semantics used by Codex. Include the minimal Grok encrypted_content validator needed on upstream/dev so replay cache entries cannot accept Codex/GPT, Gemini, or Claude signature shapes. Cache completed output items from HTTP, streaming, and WebSocket xAI responses. Cover two-turn Claude replay, tool_result continuity, valid Grok cache storage, and rejection of Codex-shaped encrypted_content.
Author sususu98 Committer GitHub Date (Jun 23, 2026, 6:57 AM UTC) Commit 05d1792d 05d1792d43ff9c338943dd9f8b2031faaa2699e4 Parent 53a21dfb 53a21dfb0b5ce3711db7adf82d603f664dd29dfa