ai-genie / chatgpt-vscode

Your best AI pair programmer in VS Code
https://marketplace.visualstudio.com/items?itemName=genieai.chatgpt-vscode
ISC License
1.18k stars 73 forks source link

"Ask" button not working #11

Open tpschmidt opened 1 year ago

tpschmidt commented 1 year ago

Verify it's not a duplicate bug report

Describe the Bug

Installed the extension. Opened the Genie tab to ask a question. => Button click does nothing.

When selecting a code block and invoking any Genie action, there's also no effect.

There are no console error messages or anything else.

genie

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

Using the defaults.

Additional context

No response

dahelg commented 1 year ago

Same problem. 😕

genieai-info commented 1 year ago

@dahelg are you also using Mac? The editor view uses text-davinci-003 to make sure you are getting a code response that will be linted well in editor. Do you mind switching user model setting to text-davinci-003 in your settings.json file and check if you are able to ask any questions in the Conversation View?

Could you also try using keyboard shortcut to send the prompt? Ctrl+Enter

Please check to see if you have any errors/logs printed out in the Output->Window in your VS Code. image

dahelg commented 1 year ago

@genieai-info Yes, I'm using MacOS Ventura Version 13.2.1. I've set the model to text-davinci-003, now. Before it has been gpt-3.5-turbo. Conversation view does not work anyway, hotkey Ctrl+Enter is already bound to github copilot extension.

UPDATE: After I've tried out a few more things, it works, now:

Btw, it also works with the gpt-4 model settings, now. Although I suppose that there is a fallback to the default gpt-3.5-turbo model? 🤔 (As I don't have api access to gpt-4, yet...)

genieai-info commented 1 year ago

@dahelg thanks for confirming. You likely have gpt-4 access already- it would fail if you didn't have API access yet. Which ChatGPT extension was that? We can try to reproduce the problem better.

genieai-info commented 1 year ago

@dahelg the editor view is defaulted to text-davinci-003 to get the code response better. The configured model in your settings doesn't have an impact on the Editor View today.

What do you mean by "Conversation view does not work anyway"? Do you mean the keyboard shortcut doesn't work due to shortcut clash, or you can't use the Conversation View feature at all?

theboy181 commented 1 year ago

Im getting a 404 error after putting in my API code

Msameim181 commented 1 year ago

After changing the API Key, It does not work for me. No conversation, No editor. And there is no console log relevant to this issue.