Skip to content

Commit 5fe85d8

Browse files
committed
implement error-based compaction
1 parent d77a07d commit 5fe85d8

File tree

8 files changed

+2075
-9
lines changed

8 files changed

+2075
-9
lines changed

packages/scout-agent/agent.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ agent.on("chat", async ({ id, messages }) => {
6464
}),
6565
},
6666
});
67-
return streamText(params);
67+
const stream = streamText(params);
68+
return scout.processStreamTextOutput(stream);
6869
});
6970

7071
agent.serve();

0 commit comments

Comments
 (0)