mirror of
https://github.com/ollama/ollama.git
synced 2025-07-12 16:32:52 +02:00
Update examples/typescript-simplechat/client.ts
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user