Open LightTemplar opened 1 year ago
Has anyone managed to get cody to work with VS Codium? I've tried running in a terminal
xdg-open vscodium://sourcegraph.cody-ai?code=sgp_code
and I got "Operation not supported". I suspect it has to do with the fact that VSCodium doesn't support telemetry.
Yes, there is an issue with instructions that I found but can't find again so I'll retype here.
Create a json file on disk with your access token structured like this:
{
"token": "YOUR_TOKEN_HERE"
}
And add this line to VSCodium json settings:
"cody.experimental.localTokenPath": "TOKEN_FILE_PATH_HERE",
Then restart VSCodium and it should work.
@wyrd-code that worked like a charm, thank you!
Yes, there is an issue with instructions that I found but can't find again so I'll retype here.
Create a json file on disk with your access token structured like this:
{ "token": "YOUR_TOKEN_HERE" }
And add this line to VSCodium json settings:
"cody.experimental.localTokenPath": "TOKEN_FILE_PATH_HERE",
Then restart VSCodium and it should work.
Not work in cody 1.2.1706540836
Description:
When authorizing the Cody VS Code extension in VS Codium, the authentication flow does not work properly.
Steps to reproduce:
Expected behavior:
The authorization link should open within VS Codium to complete authorization.
Actual behavior:
The vscode:// link fails to open in VS Codium, leaving authentication incomplete.
Root cause:
The authentication flow seems to use hard-coded vscode:// links instead of vscodium:// links. VS Codium requires vscodium:// protocol to handle custom internal links.
Proposed solution:
Detect if editor is VS Codium and use vscodium:// links when needed.