Update examples/typescript-simplechat/client.ts

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
Matt Williams 2023-12-07 13:39:24 -08:00 committed by GitHub
parent 1ade380bd7
commit 30229a913c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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})
} }
} }