Skip to content

Commit

Permalink
Update examples/typescript-simplechat/client.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce MacDonald <[email protected]>
  • Loading branch information
technovangelist and BruceMacD committed Dec 7, 2023
1 parent 6cc823c commit 5344f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/typescript-simplechat/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 5344f88

Please sign in to comment.