From f2228527e5cbfa2bb7af714acadae3827fa6135b Mon Sep 17 00:00:00 2001 From: Steven Crawford Date: Sat, 26 Jul 2025 09:39:41 -0500 Subject: [PATCH] updates --- lua/shelbybark/plugins/avante.lua | 23 ++++++++++--------- .../plugins/nvim-highlight-colors.lua | 10 ++++++++ 2 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 lua/shelbybark/plugins/nvim-highlight-colors.lua diff --git a/lua/shelbybark/plugins/avante.lua b/lua/shelbybark/plugins/avante.lua index 40e38e7..66f85b4 100644 --- a/lua/shelbybark/plugins/avante.lua +++ b/lua/shelbybark/plugins/avante.lua @@ -5,18 +5,19 @@ return { opts = { -- add any opts here -- for example - provider = "claude", + -- provider = "claude", + provider = "openai", providers = { - -- openai = { - -- endpoint = "https://api.openai.com/v1", - -- model = "gpt-4o", -- your desired model (or use gpt-4o, etc.) - -- extra_request_body = { - -- timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models - -- temperature = 0.75, - -- max_completion_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) - -- --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models - -- }, - -- }, + openai = { + endpoint = "https://api.openai.com/v1", + model = "gpt-4o", -- your desired model (or use gpt-4o, etc.) + extra_request_body = { + timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models + temperature = 0.75, + max_completion_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) + --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models + }, + }, }, }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` diff --git a/lua/shelbybark/plugins/nvim-highlight-colors.lua b/lua/shelbybark/plugins/nvim-highlight-colors.lua new file mode 100644 index 0000000..0fa4c56 --- /dev/null +++ b/lua/shelbybark/plugins/nvim-highlight-colors.lua @@ -0,0 +1,10 @@ +return { + "brenoprata10/nvim-highlight-colors", + config = function() + local highlight = require("nvim-highlight-colors") + + vim.opt.termguicolors = true + + highlight.setup({}) + end, +}