Skip to content

Commit a78605f

Browse files
authored
fix(plugin): use codex session-id header (#29471)
1 parent c0bc020 commit a78605f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/plugin/codex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ export async function CodexAuthPlugin(input: PluginInput, options: CodexAuthPlug
638638
if (input.model.providerID !== "openai") return
639639
output.headers.originator = "opencode"
640640
output.headers["User-Agent"] = `opencode/${InstallationVersion} (${os.platform()} ${os.release()}; ${os.arch()})`
641-
output.headers.session_id = input.sessionID
641+
output.headers["session-id"] = input.sessionID
642642
},
643643
"chat.params": async (input, output) => {
644644
if (input.model.providerID !== "openai") return

0 commit comments

Comments
 (0)