Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
parent
6cc823c9b5
commit
5344f886c8
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ async function chat(messages: Message[]): Promise<Message> {
|
|||
}
|
||||
|
||||
}
|
||||
return { role: "assistant", content: content.join("") };
|
||||
return { role: "assistant", content: content };
|
||||
}
|
||||
|
||||
async function askQuestion(): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue