ai-genie / chatgpt-vscode

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

Model Select Update #110

Closed YueyuHoshizora closed 12 months ago

YueyuHoshizora commented 1 year ago

Describe the feature

The OpenAI on 06/13 update some model, can u add in this ?

image

PierrunoYT commented 1 year ago

Waiting too

jamespacileo commented 1 year ago

Might be great to have an open text input field that overrides the select, so any future version models or even fine tuned ones can be added manually in the future. Thanks! :)

rafzei commented 1 year ago

On June 27th the stable gpt-3.5-turbo will be automatically upgraded to gpt-3.5-turbo-0613, but yes - would be nice to use it right now with Genie

jamespacileo commented 1 year ago

@rafzei that's like 2 AI years away! 😄

Anyway, I've tried editing the locally installed extension with no success. Theoretically it should be possible to just replace the old model name gpt-4-03xx with the new one and it should work after reloading the extension. But didn't have success, probably because I've never built an extension before.

Anyway I appreciate the extension despite impatiently wanting to use the latest and greatest :)

Let me know if someone has success

nakata5577 commented 1 year ago

To add the model, the following two files must be modified.

C:\Users\<user>\.vscode\extensions\genieai.chatgpt-vscode-0.0.8\package.json
C:\Users\<user>\.vscode\extensions\genieai.chatgpt-vscode-0.0.8\out\extension.js

The modification points of each file are as follows. ・package.json

e.g.: image

・extension.js

e.g.: image

jamespacileo commented 1 year ago

@nakata5577 that looks about right!

I've attempted the same yesterday, but the extension wouldn't reload with the new settings. Did you have to do anything extra?

majormer commented 1 year ago

To add the model, the following two files must be modified.

C:\Users\<user>\.vscode\extensions\genieai.chatgpt-vscode-0.0.8\package.json
C:\Users\<user>\.vscode\extensions\genieai.chatgpt-vscode-0.0.8\out\extension.js

The modification points of each file are as follows. ・package.json

e.g.: image

・extension.js

e.g.: image

This 100% patched things up until an official release is completed. Thank you so much!

nakata5577 commented 1 year ago

@jamespacileo

No. None in particular.

Check the settings again.

image
jamespacileo commented 1 year ago

@nakata5577 thanks a ton! Good to know.

Probably has something to do with how extensions are installed inside WSL2, probably there's another location I have to edit this.

jamespacileo commented 1 year ago

@nakata5577 got it working :)

for who's using WSL2 and VSCode remote extension the path for the extensions is ~/.vscode-server-insiders/extensions

if you're not using insiders version just look for other .vscode* folders in your home directory

nakata5577 commented 1 year ago

@jamespacileo I see! So the files to be modified are different in the remote development environment? That was a blind spot. Thanks for sharing the information:-)

thorizer commented 1 year ago

On June 27th the stable gpt-3.5-turbo will be automatically upgraded to gpt-3.5-turbo-0613, but yes - would be nice to use it right now with Genie

@rafzei it didn't automatically change . why? still 4k limit

Cytranics commented 1 year ago

Guys I released my version, almost on par with genie. Full support for GPT3.5 and 4 models. https://marketplace.visualstudio.com/items?itemName=Autonimate.autonimate&ssr=false#qna

gencay commented 1 year ago

Congrats @Cytranics! But all you need is Genie or a selfhosted version from my original project: https://github.com/gencay/vscode-chatgpt. Genie will receive updates soon!

In the meantime I recommend the experienced developers to just selfhost their own version from my open-source project: https://github.com/gencay/vscode-chatgpt. It's completely free and you don't need to download any 3rd party extension. You just need to update the model enums in the code and follow the instructions in the repo to install locally.

Thanks for all the interest in Genie! We will be in touch once the models are more up-to-date with OpenAI's recent models.

Cytranics commented 1 year ago

No congrats needed @gencay. I really wanted to use the 16k models, took it upon myself to fork your code. I'm not looking for fame or support. I loved ChatGPT, and Genie but they are falling behind. I'm more than willing to contribute to Genie but its closed. Not looking for anything. You're name is splattered all throughout Autonimate, which I can change over to Genie. Point being was, alot of people, including myself were hacking minified extention.js just to get the 16k to work.

Chris's code does not support Azure and has un-needed roadblocks for signup and API keys. Again, could care less if someone downloads mine or not, and I'm more than willing to take it down and prop up genie.

gencay commented 1 year ago

@Cytranics no worries! I am glad that you liked both extensions. And I am well aware that they are falling behind in terms of the new models. There are unforeseen circumstances that lead to the slowness in development of Genie over the last months. However, still Genie offers a lot more than other options imho. I understand that people are very excited about the new models, but please understand that this is an all-free extension for the community. We will continue working on exciting features and catch up with the latest updates from OpenAI.

Drop an email so we have your contact information if you would like to support Genie's development at info@genieai.net

But since the core functionality of Genie is still operational and it offers bunch of additional features than its competitors, I prefer recommending people to either be patient with us or use my open-source project to self-host (This is IMO the best route to go if you have just a little bit TS/Web dev experience)

Thanks for being patient! 🙏

thorizer commented 1 year ago

Guys I released my version, almost on par with genie. Full support for GPT3.5 and 4 models. marketplace.visualstudio.com/items?itemName=Autonimate.autonimate&ssr=false#qna

@Cytranics it lacks quick fix feature for errors

Cytranics commented 1 year ago

Guys I released my version, almost on par with genie. Full support for GPT3.5 and 4 models. marketplace.visualstudio.com/items?itemName=Autonimate.autonimate&ssr=false#qna

@Cytranics it lacks quick fix feature for errors

Yup, next update, already working locally, but I don't want to take genie's issue board for my ext. Releasing open source here tomorrow on GitHub.

Cytranics commented 1 year ago

Guys I released my version, almost on par with genie. Full support for GPT3.5 and 4 models. marketplace.visualstudio.com/items?itemName=Autonimate.autonimate&ssr=false#qna

@Cytranics it lacks quick fix feature for errors

Updated, and its open source now: https://github.com/Cytranics/vscode-autonimate

genieai-info commented 12 months ago

Hi everyone, the new update has this now. Please check v0.0.9. Install or view on VS Code Marketplace