Exafunction / codeium.vim

Free, ultrafast Copilot alternative for Vim and Neovim
https://codeium.com
MIT License
4.12k stars 147 forks source link

Please log in with Codeium Auth every time #261

Open particledecay opened 11 months ago

particledecay commented 11 months ago

Every time I open Neovim, I get the "please log in with :Codeium Auth" message in the console. I've done it numerous times, and the ~/.codeium/config.json file appears to keep the exact same apiKey value every time.

I even threw in an echomsg statement right after loading the config just to check whether the resulting value was empty:

echomsg 'Detected Codeium API key: ' . s:api_key

... sure enough it prints the value that's in the config.json file. I haven't dug too deeply into exactly how this is checking the token value as it seems to work otherwise (in fact the echomsg statement above was itself generated by Codeium lol). AI helping to debug itself :laughing:

What else might be going on? This worked in a previous Neovim version on Ubuntu 22.10, it worked in a previous Neovim version in Windows 11 WSL2, but it's not working right now (version details below).

OS: Ubuntu 22.04.3 LTS
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3