Skip to content

Commit 9f8c1f0

Browse files
author
Francis
committed
Added Avente! - Need to look at AI APIs...
1 parent 8f88808 commit 9f8c1f0

File tree

1 file changed

+63
-1
lines changed

1 file changed

+63
-1
lines changed

init.lua

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
======== .-----. ========
77
======== .----------------------. | === | ========
88
======== |.-""""""""""""""""""-.| |-----| ========
9-
======== || || | === | ========
109
======== || KICKSTART.NVIM || |-----| ========
1110
======== || || | === | ========
11+
======== || || | === | ========
1212
======== || || |-----| ========
1313
======== ||:Tutor || |:::::| ========
1414
======== |'-..................-'| |____o| ========
@@ -371,6 +371,68 @@ require('lazy').setup({
371371
},
372372
},
373373

374+
--NOTE: Avante!
375+
376+
{
377+
'yetone/avante.nvim',
378+
event = 'VeryLazy',
379+
version = false, -- Never set this value to "*"! Never!
380+
opts = {
381+
-- add any opts here
382+
-- for example
383+
provider = 'openai',
384+
openai = {
385+
endpoint = 'https://api.openai.com/v1',
386+
model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.)
387+
timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models
388+
temperature = 0,
389+
max_completion_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models)
390+
--reasoning_effort = "medium", -- low|medium|high, only used for reasoning models
391+
},
392+
},
393+
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
394+
build = 'make',
395+
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
396+
dependencies = {
397+
'nvim-treesitter/nvim-treesitter',
398+
'stevearc/dressing.nvim',
399+
'nvim-lua/plenary.nvim',
400+
'MunifTanjim/nui.nvim',
401+
--- The below dependencies are optional,
402+
'echasnovski/mini.pick', -- for file_selector provider mini.pick
403+
'nvim-telescope/telescope.nvim', -- for file_selector provider telescope
404+
'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions
405+
'ibhagwan/fzf-lua', -- for file_selector provider fzf
406+
'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons
407+
'zbirenbaum/copilot.lua', -- for providers='copilot'
408+
{
409+
-- support for image pasting
410+
'HakonHarnes/img-clip.nvim',
411+
event = 'VeryLazy',
412+
opts = {
413+
-- recommended settings
414+
default = {
415+
embed_image_as_base64 = false,
416+
prompt_for_file_name = false,
417+
drag_and_drop = {
418+
insert_mode = true,
419+
},
420+
-- required for Windows users
421+
use_absolute_path = true,
422+
},
423+
},
424+
},
425+
{
426+
-- Make sure to set this up properly if you have lazy=true
427+
'MeanderingProgrammer/render-markdown.nvim',
428+
opts = {
429+
file_types = { 'markdown', 'Avante' },
430+
},
431+
ft = { 'markdown', 'Avante' },
432+
},
433+
},
434+
},
435+
374436
-- NOTE: Plugins can specify dependencies.
375437
--
376438
-- The dependencies are proper plugin specifications as well - anything

0 commit comments

Comments
 (0)