change ollama host and port

This commit is contained in:
2024-07-30 19:57:48 +05:30
parent 729b648012
commit 2dafb7605d
2 changed files with 7 additions and 2 deletions

View File

@ -44,6 +44,9 @@
ollama = { ollama = {
enable = true; enable = true;
acceleration = "cuda"; acceleration = "cuda";
openFirewall = true;
host = "0.0.0.0";
port = 11434;
}; };
openssh = { openssh = {
enable = true; enable = true;

View File

@ -1,6 +1,8 @@
local opts = { local opts = {
model = "deepseek-coder:6.7b", model = "deepseek-coder-v2:latest",
display_mode = "float", host = "100.64.0.5",
port = "11434",
display_mode = "split",
show_prompt = true, show_prompt = true,
show_model = true, show_model = true,
no_auto_close = false, no_auto_close = false,