feat: add streaming markdown rendering with incremental output
This commit is contained in:
parent
27c6447ef2
commit
856a3160fe
4 changed files with 45 additions and 25 deletions
2
index.ts
2
index.ts
|
|
@ -91,8 +91,6 @@ async function main() {
|
|||
convo.messages.push({ role: "assistant", content: await text });
|
||||
await convoFile.write(JSON.stringify(convo));
|
||||
|
||||
await renderer.renderFinal(text);
|
||||
|
||||
await renderer.renderStats(totalUsage, start, stop);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue