Skip to content

Commit 80c0b06

Browse files
authored
feat: add X-Session-Id header for proxy cache routing affinity (#31511)
1 parent 381eabb commit 80c0b06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/session/llm/request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ export const prepare = Effect.fn("LLMRequestPrep.prepare")(function* (input: Pre
185185
}
186186
: {
187187
"x-session-affinity": input.sessionID,
188+
"X-Session-Id": input.sessionID,
188189
...(input.parentSessionID ? { "x-parent-session-id": input.parentSessionID } : {}),
189190
"User-Agent": USER_AGENT,
190191
}),

0 commit comments

Comments
 (0)