fix : fix

This commit is contained in:
martin legrand 2025-03-30 12:02:17 +02:00
parent 6b31516cd9
commit e56e5a4b3d

View File

@ -22,7 +22,7 @@ class OllamaLLM(GeneratorLLM):
stream = ollama.chat( stream = ollama.chat(
model=self.model, model=self.model,
messages=history, messages=history,
stream=False, stream=True,
) )
for chunk in stream: for chunk in stream: