From 2d037966f40fe8e14c57c0717f6527e1c70944c1 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Wed, 25 Mar 2026 23:10:25 -0500 Subject: [PATCH] add note --- packages/opencode/src/plugin/openai/codex.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/opencode/src/plugin/openai/codex.ts b/packages/opencode/src/plugin/openai/codex.ts index a73edd0a08..130488f6f9 100644 --- a/packages/opencode/src/plugin/openai/codex.ts +++ b/packages/opencode/src/plugin/openai/codex.ts @@ -630,6 +630,7 @@ export async function CodexAuthPlugin(input: PluginInput): Promise { output.headers.originator = "opencode" output.headers["User-Agent"] = `opencode/${Installation.VERSION} (${os.platform()} ${os.release()}; ${os.arch()})` + // TODO: this is kinda hacky, we need to move the transport creation to a later point so it can accept more arguments rather than just relying on whatever is passed to fetch... // distinguish between title gen and actual chat session if (!input.small) { output.headers.session_id = input.sessionID