Chat completion error (Codeium)
I get this error after using
ctrl-shift-E
and submitting a line of text. This is my first time attempting to use Codeium with Marimo.Solution:Jump to solution
1. can you try removing
https://api.openai.com
(marimo will use the default url)
2. everything else looks fine
3. for codeium. its completion is for typeahead. you can use Codeium without openai which will give you the typeahead text as you type in a cell (instead of chat with your cell)...7 Replies
I'm using v0.6.25 (newest available to
pixi
as of a half an hour ago)full console log
This is not actually codeium - codeium is only for the editor autocomplete. This is the OpenAI completions (yet another AI integration). You will need to configure those settings differently
https://docs.marimo.io/guides/ai_completion.html#using-ai-to-modify-cells
what is your
base_url
? under ai.open_ai]
upgraded marimo to v0.26 this AM with pixi, same error.
I also tried model "gpt-4-turbo" as per the web page example
(api key sanitized)
Will Codeium completion work without openai? (and how do you trigger Codeium?)
Solution
1. can you try removing
https://api.openai.com
(marimo will use the default url)
2. everything else looks fine
3. for codeium. its completion is for typeahead. you can use Codeium without openai which will give you the typeahead text as you type in a cell (instead of chat with your cell)ok, a) my 4o model name was wrong (should be
gpt-4o
), and b) removing the base url works (for both 4 models)
how to verify Codeium works?
ahh, it is there, just a lot slower than in vscode
thanks for your help Myles!awesome - if there are any action items on us, let us know.
e.g. speed up delay (although i think 200ms is good, which is the default)
validation of base url or models