[STANDARD] Ночной пересчёт соответствия 2026-11-24
This commit is contained in:
1 parent
58cfd5b5a7
commit
0f4750720d
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
# Соответствие единому стандарту
|
# Соответствие единому стандарту
|
||||||
|
|
||||||
Обновлено: 2026-11-23 04:40
|
Обновлено: 2026-11-24 04:40
|
||||||
|
|
||||||
/opt/work-hub/venv/bin/python: can't open file '/tmp/standard_check.py': [Errno 2] No such file or directory
|
/opt/work-hub/venv/bin/python: can't open file '/tmp/standard_check.py': [Errno 2] No such file or directory
|
||||||
@@ -63,7 +63,7 @@ def _ollama(model, messages, timeout, max_tokens, temperature):
|
|||||||
d = _post(OLLAMA + "/api/chat",
|
d = _post(OLLAMA + "/api/chat",
|
||||||
{"model": model, "messages": messages, "stream": False,
|
{"model": model, "messages": messages, "stream": False,
|
||||||
"keep_alive": "30m",
|
"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)
|
{"Content-Type": "application/json"}, timeout)
|
||||||
return (d.get("message") or {}).get("content") or ""
|
return (d.get("message") or {}).get("content") or ""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user