fix(console): preserve inference sessions (#43124)

Co-authored-by: Frank <frank@anoma.ly>
This commit is contained in:
Adam 2026-08-17 23:48:25 -05:00 committed by GitHub
parent 32320409b1
commit 4e81a0b73f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,7 +247,7 @@ export async function handler(
headers.delete("host")
headers.delete("content-length")
headers.delete("x-opencode-request")
headers.delete("x-opencode-session")
if (!isNewInference) headers.delete("x-opencode-session")
headers.delete("x-opencode-project")
headers.delete("x-opencode-client")
return headers