From 416c8e953af8412c405a5b8a2b35a7c620a75c54 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 21 Jun 2025 22:44:22 -0300 Subject: [PATCH 1/3] feat(neovim): configure local llm models on avante --- config/nvim/lua/custom/plugins/init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 2564807..0cccd1a 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -435,6 +435,24 @@ return { return hub and hub:get_active_servers_prompt() or '' end, providers = { + ['deepseek-r1-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'deepseek-r1:14b', + }, + ['gemma3-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'gemma3:12b', + }, + ['qwen3-local'] = { + __inherited_from = 'ollama', + api_key_name = '', + endpoint = 'http://172.30.64.1:10000', + model = 'qwen3:14b', + }, ['gemini-pro'] = { __inherited_from = 'gemini', model = 'gemini-2.5-pro-preview-05-06', -- 2.47.2 From 6e5010a651cc35ad490cf6fa4214e155025308b7 Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 21 Jun 2025 22:45:05 -0300 Subject: [PATCH 2/3] feat(neovim): integrate with `claude-code` --- config/nvim/lua/custom/plugins/init.lua | 47 +++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/config/nvim/lua/custom/plugins/init.lua b/config/nvim/lua/custom/plugins/init.lua index 0cccd1a..a80d58b 100644 --- a/config/nvim/lua/custom/plugins/init.lua +++ b/config/nvim/lua/custom/plugins/init.lua @@ -491,4 +491,51 @@ return { trailing_stiffness = 0.1, }, }, + { + 'greggh/claude-code.nvim', + dependencies = { + 'nvim-lua/plenary.nvim', + }, + opts = { + window = { + split_ratio = 0.5, + position = 'botright', + enter_insert = true, + hide_numbers = true, + hide_signcolumn = true, + }, + refresh = { + enable = true, + updatetime = 100, + timer_interval = 1000, + show_notifications = true, + }, + git = { + use_git_root = true, + }, + shell = { + separator = '&&', + pushd_cmd = 'pushd', + popd_cmd = 'popd', + }, + command = 'claude', + command_variants = { + continue = '--continue', -- Resume the most recent conversation + resume = '--resume', -- Display an interactive conversation picker + verbose = '--verbose', -- Enable verbose logging with full turn-by-turn output + }, + keymaps = { + toggle = { + normal = '', + terminal = '', + variants = { + continue = 'cC', + verbose = 'cV', + }, + }, + window_navigation = true, + scrolling = true, + }, + }, + }, } -- 2.47.2 From 0957b603cd387aec7b06d7809afc4be9248d895a Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Sat, 21 Jun 2025 22:45:35 -0300 Subject: [PATCH 3/3] feat(mcphub): add `serena` server --- config/mcphub/servers.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/mcphub/servers.json b/config/mcphub/servers.json index 8199571..923e55e 100644 --- a/config/mcphub/servers.json +++ b/config/mcphub/servers.json @@ -16,6 +16,14 @@ "vectorcode": { "command": "vectorcode-mcp-server", "args": [] + }, + "serena": { + "command": "uvx", + "arg": [ + "--from", + "git+https://github.com/oraios/serena", + "serena-mcp-server" + ] } } } -- 2.47.2