Skip to content

Commit 92c30b7

Browse files
moonshade9Jimmy Pan
andauthored
Add a new line after the model generates final text response after tool call (#307)
Co-authored-by: Jimmy Pan <jimmypan@amazon.com>
1 parent e6e4dec commit 92c30b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/getting-started.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,10 @@ session.on("assistant.message_delta", (event) => {
432432
process.stdout.write(event.data.deltaContent);
433433
});
434434

435+
session.on("session.idle", () => {
436+
console.log(); // New line when done
437+
});
438+
435439
await session.sendAndWait({
436440
prompt: "What's the weather like in Seattle and Tokyo?",
437441
});

0 commit comments

Comments
 (0)