[STANDARD] Ночной пересчёт соответствия 2026-11-24
lint / hygiene (push) Failing after 33s
standard / check (push) Successful in 16s

This commit is contained in:
root committed 2026-11-24 04:40:04 +03:00
1 parent 58cfd5b5a7
commit 0f4750720d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ def _ollama(model, messages, timeout, max_tokens, temperature):
d = _post(OLLAMA + "/api/chat",
{"model": model, "messages": messages, "stream": False,
"keep_alive": "30m",
"options": {"num_predict": max_tokens, "temperature": temperature}},
"options": {"num_predict": max_tokens, "temperature": temperature, "num_thread": 8, "num_gpu": 0}},
{"Content-Type": "application/json"}, timeout)
return (d.get("message") or {}).get("content") or ""