feat: add X-Session-Id header for proxy cache routing affinity (#31511)

This commit is contained in:
Songchao Wang 2026-06-10 06:01:17 +08:00 committed by GitHub
parent 381eabb970
commit 80c0b06980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,6 +185,7 @@ export const prepare = Effect.fn("LLMRequestPrep.prepare")(function* (input: Pre
}
: {
"x-session-affinity": input.sessionID,
"X-Session-Id": input.sessionID,
...(input.parentSessionID ? { "x-parent-session-id": input.parentSessionID } : {}),
"User-Agent": USER_AGENT,
}),