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

nui not allowed to change text or change window

Open toblerlee opened this issue 2 years ago • 10 comments

WhatsApp Image 2024-08-16 at 21 23 46

~/.local/share/nvim/lazy/nui.nvim/lua/nui/line/init.lua line 72

I am not able to get response from either claude or openai

toblerlee avatar Aug 17 '24 04:08 toblerlee

‌‌‌Can you upgrade to the latest version and try it?

yetone avatar Aug 17 '24 08:08 yetone

Screenshot 2024-08-17 at 1 38 00 PM same same. I am still stuck at "generating response from claude..."

toblerlee avatar Aug 17 '24 20:08 toblerlee

did you move the cursor somewhere, I tried with both claude and openai and the stream generates fine?

aarnphm avatar Aug 17 '24 21:08 aarnphm

I would recommend trying in a normal terminal, without tmux and vscode :) I don't use tmux so I'm not entirely sure whether it would affect input

aarnphm avatar Aug 17 '24 21:08 aarnphm

Screenshot 2024-08-17 at 2 12 21 PM Thanks I also tried a normal terminal without extra tmux or vscode. I moved cursor around as well but didn't help

toblerlee avatar Aug 17 '24 21:08 toblerlee

Can you just try exporting the envvar for now, I'm working on a fix rn

aarnphm avatar Aug 17 '24 21:08 aarnphm

Yes I tried exporting the envvar and I even tried to generate new key but same result

toblerlee avatar Aug 17 '24 21:08 toblerlee

Can you try this branch? https://github.com/yetone/avante.nvim/pull/58

Not sure how to reproduce

aarnphm avatar Aug 17 '24 23:08 aarnphm

I had the exact same issue as well, stuck at the generating response process. I noticed that AvanteAsk's curl call to Claude only consumed 6kb of network data. Could this be due to network environment issues? 截屏2024-08-18 16 17 17

ipunkid avatar Aug 18 '24 08:08 ipunkid

‌‌‌‌It seems like a network environment issue. You can try switching providers, for example, switch to OpenAI. @ipunkid

yetone avatar Aug 18 '24 09:08 yetone