Skip to content

Commit f758612

Browse files
committed
Isolate Node reasoning model fixture
Use a fresh client for the streaming reasoning test so its gpt-5.4 model catalog is not shadowed by the shared client's earlier cached fixture. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9b80f6cb-b851-4598-8294-f4431c6f3143
1 parent ddd5a21 commit f758612

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

nodejs/test/e2e/streaming_fidelity.e2e.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ describe("Streaming Fidelity", async () => {
146146
});
147147

148148
it("should emit streaming deltas with reasoning effort configured", async () => {
149-
const session = await client.createSession({
149+
const reasoningClient = createClient();
150+
onTestFinished(() => reasoningClient.stop());
151+
const session = await reasoningClient.createSession({
150152
onPermissionRequest: approveAll,
151153
model: "gpt-5.4",
152154
streaming: true,

0 commit comments

Comments
 (0)