JudiniLabs / code-gpt-docs

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

Cannot set API key for OpenAI and GPT-4 model for autocomplete #230

Closed thexray closed 6 months ago

thexray commented 10 months ago

Description I am following this instructions:

Select an AI provider and enter your [API Key] press cmd+shift+p (mac) ctrl+shift+p (windows) and search for 'CodeGPT: Set API KEY'.

I select "OpenAI" in "Code GPT: Api Key" list, press ctrl+shift+p, enter "CodeGPT: Set API KEY", but cannot see an appropriate entry (image 1).

Additionally, there is no model "gpt-4" in the "Code GPT.Autocomplete Provider" list (image 2).

Environment

image Image 2

image

PilarHidalgo commented 9 months ago

Hi! try to do it by the menu: image

thexray commented 9 months ago

That is working, thanks!

TannerLow commented 9 months ago

Where do I find the popup? Can you provide a link to the website where I can set the connection to OpenAI?

I found it. The steps above refer to the extension in VS Code. There is no "CodeGPT: Set API Key" option anymore. Also, the 3 vertical dots button may not show up depending on how wide the extension panel is.

JinHwi commented 9 months ago

so do i i can't find CodeGPT : Set API Key

JinHwi commented 9 months ago

image

JinHwi commented 9 months ago

image

JinHwi commented 9 months ago

where is new dialog window? how to we open this window in vs code?

Andric34 commented 9 months ago

I have the same problem, it's like the extension isn't properly installed or something. A lot of commands are missing SET API KEY being one of them resulting in codeGPT window having only black screen. CodeGPT extension version 3.2.0 and vscode version 1.86.2

gyaaniguy commented 8 months ago

same problem

PilarHidalgo commented 6 months ago

Hi guys no need to Set API Key like that, just follow these instructions: https://www.youtube.com/watch?v=yErnyqXobcI