diff --git a/modules/hm/vim.nix b/modules/hm/vim.nix index fdd3c02..a597d82 100644 --- a/modules/hm/vim.nix +++ b/modules/hm/vim.nix @@ -406,7 +406,11 @@ in local token = readAll("${nixosConfig.age.secrets.ollama.path}") local conf = { -- url = string.format("https://bertof:%s@ollama.ricerca.sesar.di.unimi.it/", token), - model = "codegemma:7b" + model = "codegemma:7b", + options = { + temperature = 0.6, + num_ctx = 8192 + } } local ollama = require("ollama") ollama.setup(conf)