We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a11cde1 + b48ae19 commit 6113467Copy full SHA for 6113467
1 file changed
apps/web/src/lib/server/turn-router.ts
@@ -118,9 +118,14 @@ export async function routeMessageTurn(
118
119
// Pipeline B: interpret write intent for write-capable turns only.
120
const priorOperation = discourseState.pending_write_operation;
121
- const writeInterpretation = WRITE_INTERPRETING_TURN_TYPES.has(
+ const shouldInterpretWrite = WRITE_INTERPRETING_TURN_TYPES.has(
122
classification.turnType,
123
- )
+ );
124
+ console.info("interpret_write_turn_gate", {
125
+ turnType: classification.turnType,
126
+ shouldInterpretWrite,
127
+ });
128
+ const writeInterpretation = shouldInterpretWrite
129
? await interpretWriteTurn({
130
currentTurnText: input.normalizedText,
131
turnType: classification.turnType,
0 commit comments