Closed notno closed 1 year ago
None of the commands work for me... I keep getting the same generic API ERROR message, with no details.
I've confirmed that the op command works from the command line, so that's not it.
Here's my lazy setup:
1 return { 2 "jackMort/ChatGPT.nvim", 3 event = "VeryLazy", 4 config = function() 5 require("chatgpt").setup({ 6 api_key_cmd = "op read op://Personal/OpenAI/credential --no-newline", 7 openai_params = { 8 model = "gpt-3.5-turbo", 9 frequency_penalty = 0, 10 presence_penalty = 0, 11 max_tokens = 300, 12 temperature = 0, 13 top_p = 1, 14 n = 1, 15 }, 16 openai_edit_params = { 17 model = "code-davinci-edit-001", 18 temperature = 0, 19 top_p = 1, 20 n = 1, 21 }, 22 }) 23 end, 24 dependencies = { 25 "MunifTanjim/nui.nvim", 26 "nvim-lua/plenary.nvim", 27 "nvim-telescope/telescope.nvim" 28 } 29 }
I'm dumb
None of the commands work for me... I keep getting the same generic API ERROR message, with no details.
I've confirmed that the op command works from the command line, so that's not it.
Here's my lazy setup: