mpociot / chatgpt-vscode

A VSCode extension that allows you to use ChatGPT
4.96k stars 366 forks source link

ChatGPT API #41

Open slavakurilyak opened 1 year ago

slavakurilyak commented 1 year ago

It's time to use the official ChatGPT API!

timkmecl commented 1 year ago

This is now implemented in the latest version on the VSCode Marketplace! Source code in my repo.

Azuresonance commented 1 year ago

This is now implemented in the latest version on the VSCode Marketplace! Source code in my repo.

I wonder if it is impossible to use the API with a proxy, or is it just that you haven't implemented it yet? The API is now censored in China so I'd really appreciate a way to use proxy.

timkmecl commented 1 year ago

Hi, do you mean the unofficial third party proxies for connecting to the web version (ChatGPTUnofficialProxyAPI) or something else?

Azuresonance commented 1 year ago

Hi, do you mean the unofficial third party proxies for connecting to the web version (ChatGPTUnofficialProxyAPI) or something else?

I mean the official API. api.openai.com is now blocked in China, so the official API is unusable here without going through a proxy.

Azuresonance commented 1 year ago

Hi, do you mean the unofficial third party proxies for connecting to the web version (ChatGPTUnofficialProxyAPI) or something else?

image The settings says that this proxy settings is only used when the browser is used?

hrabkin commented 1 month ago

Shit, so need to pay twice for OpenAI API and ChatGPT for other cases. Is there way to continue using the session token of ChatGPT?