leona / helix-gpt

Code assistant language server for Helix with support for Copilot/OpenAI/Codeium/Ollama
MIT License
394 stars 27 forks source link

[BUG] completion doesn't work #69

Open vanarok opened 2 months ago

vanarok commented 2 months ago

helix-editor version 24.7

helix-gpt version 0.34.1

Describe the bug image

vanarok commented 2 months ago

helix-gpt.log

vanarok commented 2 months ago

Helix logs are empty

vanarok commented 2 months ago

Surprisingly, I work with Vue and autocomplete works in the template tag, but not in the script tag. It doesn't work in js or html files either.

MrMic commented 3 weeks ago

Hi,

Not working too...

tail -f .cache/helix/helix.log
2024-10-03T21:44:52.339 helix_lsp::transport [ERROR] gpt err <- "\n"
2024-10-03T21:44:52.339 helix_lsp::transport [ERROR] gpt err <- "Bun v1.1.18 (Linux x64 baseline)\n"
2024-10-03T21:44:52.342 helix_lsp::transport [ERROR] gpt err: <- StreamClosed
2024-10-03T21:44:52.342 helix_lsp [ERROR] failed to initialize language server: server closed the stream
2024-10-03T21:50:43.066 helix_lsp::transport [ERROR] err: <- Other(failed to send a message to server

Caused by:
    channel closed)
2024-10-03T21:50:43.066 helix_lsp::transport [ERROR] typescript-language-server err: <- StreamClosed
2024-10-03T21:52:12.347 helix_lsp [ERROR] failed to initialize language server: request 0 timed out
2024-10-03T21:54:51.365 helix_lsp::client [WARN] language server failed to terminate gracefully - server closed the stream

2024-10-03T21:55:27.138 helix_lsp [ERROR] failed to initialize language server: request 0 timed out
2024-10-03T21:55:51.369 helix_lsp::transport [ERROR] Tried sending response into a closed channel (id=Num(4)), original request likely timed out

Any idea? Rgds,