Exafunction / codeium.nvim

A native neovim extension for Codeium
MIT License
836 stars 62 forks source link

Codeium Auth does not open a browser #261

Open twilwa opened 2 weeks ago

twilwa commented 2 weeks ago

image specs included here. i tried to manually create the config.json file in the config.json as a workaround:

{ "api_key": "key-here" }

which, a checkhealth indicates is loading correctly, but completions don't work and complain about a missing jwt:

[ERROR Sat 09 Nov 2024 03:31:07 PM PST] /home/anon/.local/share/lazyvim/lazy/codeium.nvim/lua/codeium/notify.lua:14: completion request failed: { code = 0, out = '{"code":"unknown","message":"unknown: missing user JWT for inference API server"}', response = { body = '{"code":"unknown","message":"unknown: missing user JWT for inference API server"}', exit = 0, headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Sat, 09 Nov 2024 23:31:07 GMT", "Content-Length: 81", "", "" }, status = 500 }, status = 500 }

ideally I could get it to open a browser -- running 'google-chrome' from terminal works fine, but doesn't seem to function correctly in this case.

Note that I recently switched to Wayland 24.04 with Cosmic from 22.04 with pop's x11 DE. Haven't tested on an x11 env yet, but i'd ideally like to get this working for Wayland.

patelharsh9797 commented 4 days ago

Same here.

Any solution>?