jtpio / jupyterlab-codeium

AI code completions in JupyterLab powered by Codeium ✨
http://jtpio.github.io/jupyterlab-codeium/
Other
13 stars 2 forks source link

regular completion overrides LLM based completion #10

Open tfriedel opened 2 months ago

tfriedel commented 2 months ago

I was trying the demo at https://jtp.io/jupyterlab-codeium/lab/index.html Surprisingly enough, there's an API key already filled in, so I didn't fill in any. After typing a bit, some ghost text started to appear. However I couldn't autocomplete it by pressing tab, 90% of the time.

The problem was, there's often a dropdown with some keywords shown and pressing TAB completes the top keyword from that list, rather than the ghost text. If by some chance there is no dropdown menu shown, pressing tab completes the ghost text.

jtpio commented 2 months ago

Thanks @tfriedel for the report.

This may be fixed by https://github.com/jupyterlab/jupyterlab/pull/16613. Would you be able to try the extension with the latest JupyterLab 4.3.0 pre-release? With something like pip install --pre jupyterlab jupyterlab-codeium.

tfriedel commented 2 months ago

Thanks! I tried this, but stumbled into a bunch of problems: