Let Ollama own model residency

This commit is contained in:
wuyang
2026-07-08 17:26:21 +08:00
parent 47c301c35f
commit ac6e0e03da
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1236,7 +1236,6 @@ def call_ollama(model: str, prompt: str, mode: str) -> dict[str, Any]:
"model": model,
"prompt": prompt,
"stream": False,
"keep_alive": "2m",
"options": options,
}
data = json.dumps(payload, ensure_ascii=False).encode("utf-8")