mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-06 01:47:30 +08:00
fix: align codex compat ua with tui
This commit is contained in:
@@ -99,7 +99,7 @@ func TestApplyAttemptProviderHeaders_CodexOAuth(t *testing.T) {
|
||||
if got := req.Header.Get("Accept"); got != "text/event-stream" {
|
||||
t.Fatalf("expected sse accept header, got %q", got)
|
||||
}
|
||||
if got := req.Header.Get("Originator"); got != "codex_cli_rs" {
|
||||
if got := req.Header.Get("Originator"); got != codexCompatOriginator {
|
||||
t.Fatalf("expected codex originator, got %q", got)
|
||||
}
|
||||
if got := req.Header.Get("Chatgpt-Account-Id"); got != "acct_123" {
|
||||
|
||||
Reference in New Issue
Block a user