mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-15 01:37:31 +08:00
fix: align codex compat ua with tui
This commit is contained in:
@@ -846,7 +846,7 @@ func applyCodexWebsocketHeaders(headers http.Header, attempt authAttempt, option
|
||||
}
|
||||
headers.Set("User-Agent", codexCompatUserAgent)
|
||||
if attempt.kind != "api_key" {
|
||||
headers.Set("Originator", "codex_cli_rs")
|
||||
headers.Set("Originator", codexCompatOriginator)
|
||||
if attempt.session != nil {
|
||||
accountID := firstNonEmpty(
|
||||
strings.TrimSpace(attempt.session.AccountID),
|
||||
|
||||
Reference in New Issue
Block a user