CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.65k stars 73 forks source link

Nvim crushes whenever ran #423

Closed MuntasirSZN closed 1 month ago

MuntasirSZN commented 1 month ago

This is the output, and yes, its your plugin, removing your plugin makes nvim work as usual.

thread '<unnamed>' panicked at src/lib.rs:227:70:
called `Result::unwrap()` on an `Err` value: InvalidPadding
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    31877 IOT instruction (core dumped)  nvim . > list.txt

Pls solve it. I am running somehow without plugin.

gptlang commented 1 month ago

This is weird. Looks like tokens aren't proper base64. Did something get corrupted during download? Try rm -rf .cache/nvim/*.tiktoken

MuntasirSZN commented 1 month ago

This is weird. Looks like tokens aren't proper base64. Did something get corrupted during download? Try rm -rf .cache/nvim/*.tiktoken

Doing this works.