Skip to content

Commit 4e81a0b

Browse files
adamdotdevinfwang
andauthored
fix(console): preserve inference sessions (anomalyco#43124)
Co-authored-by: Frank <frank@anoma.ly>
1 parent 3232040 commit 4e81a0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/console/app/src/routes/zen/util

‎packages/console/app/src/routes/zen/util/handler.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export async function handler(
247247
headers.delete("host")
248248
headers.delete("content-length")
249249
headers.delete("x-opencode-request")
250-
headers.delete("x-opencode-session")
250+
if (!isNewInference) headers.delete("x-opencode-session")
251251
headers.delete("x-opencode-project")
252252
headers.delete("x-opencode-client")
253253
return headers

0 commit comments

Comments
 (0)