Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EditWithInstructions creates two Chat windows and doesn't respond #451

Open
nikitoshina opened this issue Jun 25, 2024 · 0 comments
Open

Comments

@nikitoshina
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant