JudiniLabs / code-gpt-docs

Docusaurus page
https://code-gpt-docs.vercel.app
MIT License
553 stars 58 forks source link

Get error: Failed to fetch the chat response #232

Closed xavax31 closed 1 month ago

xavax31 commented 4 months ago

Hi, I can't get codeGPT extension to work in vscode (on macbook 14' m1). It returns this error at each request: "Failed to fetch the chat response". I had the api key firstly use command set api key, and then using the set connection panel. Something weird is that pasting the api key doesn't seem to work, the field input stays empty with placeholder 'Api key'. I then selected provider openai and model turbo 3.5 (same problem with 4). Making a request with same key using curl works. Any suggestion?

mateusmacedo commented 4 months ago

The same thing is happening to me. When selecting the CodeGPT Plus provider and putting it in try mode it works perfectly. This makes me wonder if I'm losing my right to choose and being held hostage by the plugin's paid model. This really disappoints me and I believe all other users; If this is the case this is truly absurd.

Captura de Tela 2024-02-09 às 21 42 03 Captura de Tela 2024-02-09 às 21 42 45
xavax31 commented 4 months ago

@mateusmacedo, I don't think that is the same issue, my error is specific 'Failed to fetch the chat response'. May be it could be better that you open rather a new issue? There are my snapshots for more details:

Capture d’écran 2024-02-10 à 12 07 36

I just type 'hello' in chat and then:

Capture d’écran 2024-02-10 à 12 08 07

The video just shows that copying/pasting the key seems to do nothing.

https://github.com/davila7/code-gpt-docs/assets/4051022/ff848f71-521c-41dd-8c9c-69337b912fa8

PilarHidalgo commented 4 months ago

@xavax31 and @mateusmacedo , thank you for writing us, We are working on this issues, we keep informed as soon as will be resolver it.

PilarHidalgo commented 4 months ago

@xavax31 and @mateusmacedo, we fix this, could you please check again?

xavierboisnon commented 4 months ago

Perfect, it's ok for me now ! thanks

mateusmacedo commented 4 months ago

Awesome!!! hi really corrected, thank you very much.

nekineroni commented 4 months ago

@xavax31 and @mateusmacedo, we fix this, could you please check again?

i have the same problem

mateusmacedo commented 4 months ago

I'm using the latest version, it works perfectly.

chanmaoganda commented 3 months ago

observed on wsl2 ubuntu20.04

wqd008 commented 1 month ago

observed on wsl2 ubuntu20.04