diff --git a/src/agents/pi-embedded-runner/run/attempt.ts b/src/agents/pi-embedded-runner/run/attempt.ts index fce8565fb5e..4911803b4f6 100644 --- a/src/agents/pi-embedded-runner/run/attempt.ts +++ b/src/agents/pi-embedded-runner/run/attempt.ts @@ -2334,6 +2334,7 @@ export async function runEmbeddedAttempt( activeSession.agent.streamFn = wrapStreamFnSanitizeMalformedToolCalls( activeSession.agent.streamFn, allowedToolNames, + transcriptPolicy, ); activeSession.agent.streamFn = wrapStreamFnTrimToolCallNames( activeSession.agent.streamFn,