fix: add num_predict=16384 to prevent output truncation on large articles

This commit is contained in:
Celes Renata
2026-04-15 03:11:13 +00:00
parent b8a2cdc52a
commit da86132f0c
+3
View File
@@ -258,6 +258,9 @@ class OllamaClient:
],
"stream": False,
"think": False,
"options": {
"num_predict": 16384,
},
}
url = f"{self._config.base_url}/api/chat"