diff --git a/apps/server/src/orchestration-v2/Orchestrator.ts b/apps/server/src/orchestration-v2/Orchestrator.ts index 14c0041d4b..5fad0cfc07 100644 --- a/apps/server/src/orchestration-v2/Orchestrator.ts +++ b/apps/server/src/orchestration-v2/Orchestrator.ts @@ -773,7 +773,7 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio createdBy: queuedMessage.createdBy, creationSource: queuedMessage.creationSource, }), - inputIntent: "turn_start", + inputIntent: "queued_turn", startedAt: now, completedAt: now, updatedAt: now, diff --git a/apps/server/src/orchestration-v2/runtimeLayer.test.ts b/apps/server/src/orchestration-v2/runtimeLayer.test.ts index a23f325888..896c40275f 100644 --- a/apps/server/src/orchestration-v2/runtimeLayer.test.ts +++ b/apps/server/src/orchestration-v2/runtimeLayer.test.ts @@ -962,7 +962,7 @@ it.layer(TestLayer)("OrchestrationV2LayerLive lifecycle", (it) => { if (promotedMessageItem.type !== "user_message") { assert.fail("promoted queue item must be a user message"); } - assert.equal(promotedMessageItem.inputIntent, "turn_start"); + assert.equal(promotedMessageItem.inputIntent, "queued_turn"); assert.isTrue( promotedMessageItem.startedAt !== null && DateTime.toEpochMillis(promotedMessageItem.startedAt) >=