fix : fix
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user