Skip to content

Commit 1c2f43d

Browse files
authored
Merge pull request #5 from vercel-labs/na/f7034a1e
add start step
2 parents 4de2bb6 + a929af6 commit 1c2f43d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/api/chat/route.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ export async function POST(req: Request) {
3535
type: "start",
3636
messageId: generateId(),
3737
});
38+
writer.write({
39+
type: "start-step",
40+
});
3841
}
3942

4043
// test persisting different chunk types

0 commit comments

Comments
 (0)