about summary refs log tree commit diff
path: root/dotfiles/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/nvim/init.lua')
-rw-r--r--dotfiles/nvim/init.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua
index e5a8019..38ecbb2 100644
--- a/dotfiles/nvim/init.lua
+++ b/dotfiles/nvim/init.lua
@@ -254,7 +254,16 @@ require('lazy').setup({
       },
     },
     build = "make",
-    opts = { provider = "copilot" },
+    opts = {
+        provider = "openai",
+        openai = {
+          endpoint = "https://api.openai.com/v1",
+          model = "o3-mini", -- your desired model (or use gpt-4o, etc.)
+          timeout = 30000, -- timeout in milliseconds
+          temperature = 0, -- adjust if needed
+          max_tokens = 4096,
+        },
+      },
   },
 
   {