mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 13:03:42 +00:00
fix(ai): update codex stream originator test
This commit is contained in:
parent
bd82d06de2
commit
d3a457dc95
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ describe("openai-codex streaming", () => {
|
|||
expect(headers?.get("Authorization")).toBe(`Bearer ${token}`);
|
||||
expect(headers?.get("chatgpt-account-id")).toBe("acc_test");
|
||||
expect(headers?.get("OpenAI-Beta")).toBe("responses=experimental");
|
||||
expect(headers?.get("originator")).toBe("codex_cli_rs");
|
||||
expect(headers?.get("originator")).toBe("pi");
|
||||
expect(headers?.get("accept")).toBe("text/event-stream");
|
||||
expect(headers?.has("x-api-key")).toBe(false);
|
||||
return new Response(stream, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue