Unverified Commit 30229a91 authored by Matt Williams's avatar Matt Williams Committed by GitHub
Browse files

Update examples/typescript-simplechat/client.ts


Co-authored-by: default avatarBruce MacDonald <brucewmacdonald@gmail.com>
parent 1ade380b
...@@ -42,7 +42,6 @@ async function chat(messages: Message[]): Promise<Message> { ...@@ -42,7 +42,6 @@ async function chat(messages: Message[]): Promise<Message> {
if (json.done === false) { if (json.done === false) {
process.stdout.write(json.message.content); process.stdout.write(json.message.content);
content.push(json.message.content) content.push(json.message.content)
// messages.push({role: "system", content: text})
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment