Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
parent
1ade380bd7
commit
30229a913c
1 changed files with 0 additions and 1 deletions
|
@ -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})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue