ai-genie / chatgpt-vscode

Your best AI pair programmer in VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't use in remote vscode

97-tianyan opened this issue · comments

Verify it's not a duplicate bug report

Describe the Bug

I can use Genie normally locally, but it cannot be used in remote.
The error received is as follows:
request to https://api.openai.com/v1/chat/completions failed, reason: connect ETIMEDOUT 198.44.185.131:443

Please tell us if you have customized any of the extension settings or whether you are using the defaults.

gpt-3.5-turbo

Additional context

No response

commented

Acutally, I met this problem when using it locally...

commented

Could you please help us to solve this problem? When I use openapi in another software, it worked fine, but it didn't work for this plugin in vscode even if in a same network environment.

Hi - we have a section to run the extension in Remote environments in our Readme. But you can check out these similar issues (Search ETIMEDOUT in this repo):

You could try adding this to your user settings.json, too:

"remote.extensionKind": {"genieai.chatgpt-vscode": ["ui"]

Let us know if these were helpful or whether we should update the Readme