Skip to content

Commit

Permalink
remove console.log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ae86jack committed Sep 9, 2024
1 parent 8a7ca2b commit 24ec318
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/providers/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const sendRequestFunc = (settings: BaseOptions): SendRequest =>
const ollama = new Ollama({ host: baseURL })
const response = await ollama.chat({ model, messages, stream: true, ...remains })
for await (const part of response) {
console.log(part.message.content)
yield part.message.content
}
}
Expand Down

0 comments on commit 24ec318

Please sign in to comment.