Skip to content

Commit a8df800

Browse files
feat(proxy): forward X-Codex-Beta-Features header to upstream
Allows downstream clients to opt into Codex beta features (e.g. responses_websockets) by passing the header through to the upstream backend API. Co-Authored-By: Claude
1 parent c2f1432 commit a8df800

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

proxy/executor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ var codexAllowedForwardHeaders = []string{
224224
"X-Codex-Turn-State",
225225
"X-Codex-Turn-Metadata",
226226
"X-Client-Request-Id",
227+
"X-Codex-Beta-Features",
227228
}
228229

229230
// WebsocketExecuteFunc WebSocket 执行函数(由 wsrelay 包在 main.go 中注册,避免循环依赖)

0 commit comments

Comments
 (0)