Exafunction / codeium.nvim

A native neovim extension for Codeium
MIT License
644 stars 50 forks source link

Add :Codeium Chat #147

Closed consoleaf closed 3 months ago

consoleaf commented 4 months ago

So far this only opens the chat interface in the default web browser. On my system the chat doesn't work, giving me errors about openai, but it might for you.

upd: Chat works now, but it seems like for it to be context aware I need to be calling AddTrackedWorkspace

consoleaf commented 4 months ago

Correction: in enterprise mode it gives me errors but lets me send prompts. In non-enterprise mode pressing Enter does nothing, same as in https://github.com/Exafunction/codeium.vim/pull/317 image

vphantom commented 4 months ago

FYI all these quirks were addressed on the Vim side in the PR you referenced. You might want to add the missing variable(s) in your URL and try again to see if it also fixes the Enterprise side of things.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

consoleaf commented 4 months ago

Works for me after the new changes, thanks!

Todo:

pqn commented 3 months ago

@consoleaf Excited for this PR. I noticed it's still a draft -- do you want to merge this as is, or also implement AddTrackedWorkspace?

consoleaf commented 3 months ago

Feel free to merge this, I'll add the workspace detection later on as a separate PR

mrheinen commented 3 months ago

Could someone share how to make use of the chat functionality ? I understand you need to enable it in the config but how do you get it to open the browser?

khaneliman commented 2 months ago

Could someone share how to make use of the chat functionality ? I understand you need to enable it in the config but how do you get it to open the browser?

Title of the PR, :Codeium Chat. But, it only is supported for xdg-open atm