Open LeeeSe opened 5 months ago
@LeeeSe Did none of the previous completions go through, or was it just the last one that failed?
In many tests, it never completes, the top right corner always says "Fetching completion..." and rust-ana's completion function fails. The completion function of rust-ana also failed. But when I was about to give up, I opened it once and suddenly everything worked again, all completions were completed, I can't guess why this happened!
In many tests, it never completes, the top right corner always says "Fetching completion..." and rust-ana's completion function fails. The completion function of rust-ana also failed. But when I was about to give up, I opened it once and suddenly everything worked again, all completions were completed, I can't guess why this happened!
Not sure what's going on then. If you can find a way to reproduce let me know but I'll keep an eye on this anyway.
Ok I think I found something that might be causing this. To do with Bun not propagating errors in async methods properly, another reason why Bun isn't production ready yet. Also Helix kind of recovers, but only sends events and won't accept any, complaining about a broken pipe.
I've added some more error checking, but a catch all solution would be ideal.
Would switching to node or deno improve this?
Would switching to node or deno improve this?
Yea but would require a lot of changes. I'm enjoying the Bun life but definitely has a few quirks still.
It's like we prefer helix to write code. Although it doesn't yet support plugins.
helix-editor version helix 23.10 (f6021dd0)
helix-gpt version 0.21
Describe the bug helix-gpt can successfully get a reply from the copilot server, but cannot send the patched code to helix
helix-gpt logs
helix logs