fix
This commit is contained in:
@@ -58,6 +58,7 @@ def call_ollama(prompt: str) -> str:
|
||||
"stream": False,
|
||||
"format": "json",
|
||||
"options": OLLAMA_OPTIONS,
|
||||
"keep_alive": 0, # выгрузить модель из памяти сразу после ответа
|
||||
},
|
||||
ensure_ascii=False,
|
||||
).encode("utf-8")
|
||||
|
||||
Reference in New Issue
Block a user