You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
粘性绑定只认 body metadata.conversation_id、不读任何请求头——Claude Code/Codex 经代理接入时无粘性,上游 prefix cache 失效 #150
Activity
fix(gateway): 粘性键支持入站会话头与 Responses body session_id(#150)
NextAgentX commentedon Nov 2, 2026
已在 main 修复(
4b2d321):新增session_headers::session_key_of(body, headers)作为唯一取键入口 —— bodymetadata.conversation_id→ bodysession_id(顶层 / metadata)→ 入站头x-claude-code-session-id/x-session-id/x-conversation-id;chat / messages / responses 三处路由复用同一变量,并消掉原来的二次重算。刻意不读metadata.user_id(用户维度做粘性等于关掉负载均衡)。