ChatGPT.nvim icon indicating copy to clipboard operation
ChatGPT.nvim copied to clipboard

EditWithInstructions creates two Chat windows and doesn't respond

Open nikitoshina opened this issue 1 year ago • 0 comments

I ran into a problem when using EditWithInstructions: it wouldn't react to sending the the prompt and happens to produce two Chat windows, which looks different from the demo. I have updated nvim to 0.10.0 as well as all the packages. I have attached my config and a screenshot. Would appreciate any ideas on how to get it to work!

	{
		"jackMort/ChatGPT.nvim",
		cmd = { "ChatGPT", "ChatGPTRun", "ChatGPTEditWithInstructions" },
		lazy = true,
		config = function()
			require("chatgpt").setup({
				actions_paths = { "~/.config/nvim/lua/plugins/gpt_actions.json" },
				openai_params = {
					model = "gpt-4o",
					temperature = 0.6,
				},
				api_key_cmd = "op read op://bbas/OpenAi_bbas/api_key",
			})
		end,
		dependencies = {
			"MunifTanjim/nui.nvim",
			"nvim-lua/plenary.nvim",
			"folke/trouble.nvim",
			"nvim-telescope/telescope.nvim",
		},
	},

image

nikitoshina avatar Jun 25 '24 18:06 nikitoshina