style: bun run fix

This commit is contained in:
roboomp
2026-06-08 21:56:11 +00:00
parent 4461d89617
commit abc2fe663f
@@ -209,7 +209,8 @@ export function transformMessages<TApi extends Api>(
// Only an aborted/errored turn's final (mid-stream) block can hold a
// partial signature; abandoned tool-use turns strip all. Drop the
// untrustworthy signature so the encoder can downgrade the block to text.
const signatureUntrustworthy = abandonedToolUse || (invalidStopReason && blockIndex === lastBlockIndex);
const signatureUntrustworthy =
abandonedToolUse || (invalidStopReason && blockIndex === lastBlockIndex);
const sanitized =
signatureUntrustworthy && block.thinkingSignature
? { ...block, thinkingSignature: undefined }