Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kuznetsss committed Sep 30, 2024
1 parent 702cbe5 commit ab80dd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion lua/plugins/chatgpt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ return {
},
},
openai_params = {
max_tokens = 10000,
max_tokens = 4096,
model = 'gpt-4o-mini',
},
},
cmd = {
'ChatGPT',
'ChatGPTRun',
'ChatGPTActAs'
},

keys = {
{ '<leader>cg', vim.cmd.ChatGPT },
},
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/rest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ return {
require('rest-nvim').setup()
end,
keys = {
{'<leader>r', function() require'rest-nvim'.run() end},
{'<leader>r', function() vim.cmd[[Rest run]] end},
}
},
}

0 comments on commit ab80dd7

Please sign in to comment.