mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00: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