Skip to content

Commit 63ff924

Browse files
committed
fix: allow async compaction event delivery (#76651) (thanks @simplyclever914)
1 parent 825ad57 commit 63ff924

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/pi-embedded-runner/run/params.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export type RunEmbeddedPiAgentParams = {
151151
stream: string;
152152
data: Record<string, unknown>;
153153
sessionKey?: string;
154-
}) => void;
154+
}) => void | Promise<void>;
155155
lane?: string;
156156
enqueue?: CommandQueueEnqueueFn;
157157
extraSystemPrompt?: string;

0 commit comments

Comments
 (0)