gencay / vscode-chatgpt

An unofficial Visual Studio Code - OpenAI ChatGPT integration
ISC License
3.5k stars 760 forks source link

Allow us to put a custom model #87

Closed ncesar closed 1 year ago

ncesar commented 1 year ago

In the last few days, it was leaked that the ChatGPT model was leaked and it is called text-chat-davinci-002-20230126

With this, we can use the API Key in the playground to use the ChatGPT model.

We are currently using a dropdown to select models so I guess we could add this new model. I may be able to push this change.

ncesar commented 1 year ago

Sadly I was not able to find the code to create a pull request. Let me know if I can assist in any other way @gencay .

I would appreciate if I could contribuite to that but its up to you. cheers!

gencay commented 1 year ago

@ncesar I added the pre-release ChatGPT model as the default option for OpenAI API Key method. Please check out v3.5.2. For future reference, you can update the settings.json with a model of your preference in case the extension isn't updated timely with new OpenAI API models. The setting will show a warning since it's not recognized, however the extension will use your custom model.