Added Ollama debug

This commit is contained in:
jeffser 2024-09-01 16:55:53 -06:00
parent f831466d87
commit 7264902199

View File

@ -65,6 +65,7 @@ class instance():
os.mkdir(os.path.join(cache_dir, 'tmp/ollama'))
params = self.overrides.copy()
params["OLLAMA_DEBUG"] = "1"
params["OLLAMA_HOST"] = f"127.0.0.1:{self.local_port}" # You can't change this directly sorry :3
params["HOME"] = data_dir
params["TMPDIR"] = os.path.join(cache_dir, 'tmp/ollama')