Open timvancann opened 4 months ago
you need to remove --authCopilot and change it with --handler copilot
[language-server.gpt]
command = "bun"
args = ["run", "/***.local/bin/helix-gpt", "--handler", "copilot"]
to authenticate to copilot you need to run this on the terminal once
bun run ""/***.local/bin/helix-gpt" --authCopilot --handler copilot
I tried that as well,
bun run ~/.local/bin/helix-gpt --authCopilot --handler copilot
returns
^
error: no handler key provided
at ~/.local/bin/helix-gpt:3:2197
error: "helix-gpt" exited with code 1
It seems there's already a PR open for this bug https://github.com/leona/helix-gpt/pull/31
Its already fixed in master
helix-editor version 23.10
helix-gpt version 0.28
Describe the bug When booting up helix the GPT language server crashes with the log "error: no handler key provided" when configured using Copilot. This happens when booting up helix with
HANDLER=copilot hx main.rs
helix-gpt logs n.a.
helix logs
My configuration for rust is: