Skip to content

Commit 1c57320

Browse files
fix(server): pass definite native history flag in test
The provider start-turn input requires nativeThreadHasTurns. Default the test call to false when the captured startup value is undefined. Implemented With: Codex via GPT-6 Luna on OpenAI through T3 Code
1 parent 4134e65 commit 1c57320

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎apps/server/src/orchestration-v2/ProviderTurnStartService.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,7 @@ effectIt.effect(
951951
runId: startInput!.run.id,
952952
runOrdinal: startInput!.run.ordinal,
953953
providerTurnOrdinal: startInput!.providerTurnOrdinal,
954-
...(startInput!.nativeThreadHasTurns === undefined
955-
? {}
956-
: { nativeThreadHasTurns: startInput!.nativeThreadHasTurns }),
954+
nativeThreadHasTurns: startInput!.nativeThreadHasTurns ?? false,
957955
attemptId: startInput!.attemptId,
958956
rootNodeId: startInput!.rootNode.id,
959957
providerThread: startInput!.providerThread,

0 commit comments

Comments
 (0)