feat(gpt): added chatgpt config for custom prompt

This commit is contained in:
Juliano Barbosa 2023-08-30 22:02:48 -03:00
parent 4c922760d8
commit b46c2aa052
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,13 @@ return {
{ {
"jackMort/ChatGPT.nvim", "jackMort/ChatGPT.nvim",
config = function() config = function()
require("chatgpt").setup() require("chatgpt").setup(
{
api_key_cmd = "pass show azure/hypera/oai/token",
predefined_chat_gpt_prompts =
"https://raw.githubusercontent.com/julianobarbosa/custom-gpt-prompts/main/prompt.csv"
}
)
end, end,
dependencies = { dependencies = {
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",