moved plugins over
This commit is contained in:
parent
a22976111e
commit
16c8f8f1c1
15 changed files with 272 additions and 4 deletions
31
lua/custom/plugins/chatgpt.lua
Normal file
31
lua/custom/plugins/chatgpt.lua
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
local setup_chatgpt = function()
|
||||
require('chatgpt').setup {
|
||||
openai_params = {
|
||||
model = 'gpt-4-turbo-preview',
|
||||
frequency_penalty = 0,
|
||||
presence_penalty = 0,
|
||||
max_tokens = 1000,
|
||||
temperature = 0,
|
||||
top_p = 1,
|
||||
n = 1,
|
||||
},
|
||||
openai_edit_params = {
|
||||
model = 'gpt-4-turbo-preview',
|
||||
temperature = 0,
|
||||
top_p = 1,
|
||||
n = 1,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return {
|
||||
'jackMort/ChatGPT.nvim',
|
||||
event = 'VeryLazy',
|
||||
config = setup_chatgpt,
|
||||
dependencies = {
|
||||
'MunifTanjim/nui.nvim',
|
||||
'nvim-lua/plenary.nvim',
|
||||
'folke/trouble.nvim',
|
||||
'nvim-telescope/telescope.nvim',
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue