codeium.vim icon indicating copy to clipboard operation
codeium.vim copied to clipboard

CodeiumChat error "Missing chat language server URL"

Open maze88 opened this issue 7 months ago • 2 comments

Setup:

  • Vim
  • WSL
  • Windows 11

Issue:

After running :CodeiumChat a truncated (has "..." in the middle) URL is shown on the status line:

Navigating to http://127.0.0.1:41579/?api_key=a31748dc-fe1d-4b5b-918e-3c1...&app_name=Vim&locale=en&ide_telemetry_enabled=true&has_index_service=true

Although the URL is clickable with my mouse, WSL shell interprets the URL literally (i.e. with the "..." in it too), hence the error response is seen in the browser:

Connection Error Missing chat language server URL. Please ensure that you are signed in to the Codeium plugin and close / reopen the chat window. If the problem persists, please restart the IDE. If this problem persists, click here to download diagnostics and send it to us.

Workaround:

Before running the :CodeiumChat command, I zoom out (ctrl+-) in my terminal substantially, making the status line wide enough to contain all of the URL's characters - after which I click and successfully access the chat URL, and then reset zoom (ctrl+0).

Caveat:

Although this could be attributed to a shell, terminal or WSL issue, I am raising it in case there is a simple internal solution that could be introduced.

maze88 avatar May 14 '25 13:05 maze88

You can also type :messages to see the full URL. Do you see updated models? I see very outdated models in this chat. But Windsurf (the full IDE) shows the new ones.

dc740 avatar Oct 12 '25 18:10 dc740

Unfortunately the company I work at no longer works with Codeium so I cannot test this solution (:messages) anymore... But good to have the solution recorded here if somebody searches for it! Windsurf IDE is not relevant here, as the use-case discussed was in Vim.

maze88 avatar Oct 14 '25 20:10 maze88