Unverified Commit 5344f886 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 6cc823c9
......@@ -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> {
......
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