jackMort / jackMort/ChatGPT.nvim
EditWithInstructions creates two Chat windows and doesn't respond
- Dominant language
- Lua
- Stars
- 4k
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
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!
``` lua
{
"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",
},
},
```

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the ChatGPTEditWithInstructions command with the configuration shown in the issue, then trace its EditWithInstructions entry point and Chat window creation. No source file or test is named, so locate the relevant implementation and verify that the prompt receives a response in a single Chat window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100