diff --git a/nodes/adapters/ollama_client.py b/nodes/adapters/ollama_client.py index ff5c0cf..c4e6406 100644 --- a/nodes/adapters/ollama_client.py +++ b/nodes/adapters/ollama_client.py @@ -483,6 +483,7 @@ class OllamaClient: allocation). In normal operation the daemon thread will finish quickly and does not need to be joined. """ + def _run() -> None: client = OllamaClient(logger_prefix=logger_prefix) client.cleanup(model, unload=unload, release_cuda=release_cuda)