Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GPT-4o #167

Closed
danielorozco06 opened this issue May 14, 2024 · 12 comments
Closed

Add GPT-4o #167

danielorozco06 opened this issue May 14, 2024 · 12 comments
Labels
enhancement New feature or request

Comments

@danielorozco06
Copy link

Describe the feature

Add the recently released GPT-4o to the list of models https://openai.com/index/hello-gpt-4o/

@danielorozco06 danielorozco06 added the enhancement New feature or request label May 14, 2024
@IlmariKu
Copy link

I was hoping for the same, but I think this repo has been abandoned and we just have to move to something different.

@agn-7
Copy link

agn-7 commented May 16, 2024

Does someone know any extension equivalent to Genie?

@slazak
Copy link

slazak commented May 16, 2024

I was hoping for the same, but I think this repo has been abandoned and we just have to move to something different.

That would be seed. I truly appreciate this extension and discovered it to be a better fit for me than Copilot.

@ChuckJonas
Copy link

I was hoping for the same, but I think this repo has been abandoned and we just have to move to something different.

Not to mention, it was never open source in the first place... Would love to see a community driven version of this.

@galantra
Copy link

Does someone know any extension equivalent to Genie?

https://github.com/continuedev/continue

@ClicBizDev
Copy link

Go to C:\Users[your username].vscode\extensions\genieai.chatgpt-vscode-0.0.10\ and edit package.json by replacing in genieai.openai.model "gpt-4" by "gpt-4o"

Then goto the \out folder and edit extension.js:
Update this line, replacing gpt-4 option by gpt-4o:
var Q1={"gpt-4-1106-preview":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4o":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4-32k":{maxTokens:32768,version:"gpt-4",type:"chat"},"gpt-4-0613":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4-32k-0613":{maxTokens:32768,version:"gpt-4",type:"chat"},"gpt-3.5-turbo-1106":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo-16k":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo-instruct":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"text-davinci-003":{maxTokens:4096,version:"gpt-3.5",type:"text"},"text-davinci-002":{maxTokens:4096,version:"gpt-3.5",type:"text"},"text-curie-001":{maxTokens:2048,version:"gpt-3",type:"text"},"text-babbage-001":{maxTokens:2048,version:"gpt-3",type:"text"},"text-ada-001":{maxTokens:2048,version:"gpt-3",type:"text"},"code-davinci-002":{maxTokens:8001,version:"gpt-3.5",type:"codex"},"code-cushman-002":{maxTokens:2048,version:"gpt-3",type:"codex"}},lo="gpt-4-1106-preview";

Then deactivate and reactivate the extension, go to settings and update the model. And enjoy!

@Ansa211
Copy link

Ansa211 commented Jun 6, 2024

"gpt-4o":{maxTokens:8192,version:"gpt-4",type:"chat"},

shouldn't it be version: "gpt-4o" as well?

@agn-7
Copy link

agn-7 commented Jun 6, 2024

"gpt-4o":{maxTokens:8192,version:"gpt-4",type:"chat"},

shouldn't it be version: "gpt-4o" as well?

No

@ilham-fetchly
Copy link

Go to C:\Users[your username].vscode\extensions\genieai.chatgpt-vscode-0.0.10\ and edit package.json by replacing in genieai.openai.model "gpt-4" by "gpt-4o"

Then goto the \out folder and edit extension.js: Update this line, replacing gpt-4 option by gpt-4o: var Q1={"gpt-4-1106-preview":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4o":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4-32k":{maxTokens:32768,version:"gpt-4",type:"chat"},"gpt-4-0613":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4-32k-0613":{maxTokens:32768,version:"gpt-4",type:"chat"},"gpt-3.5-turbo-1106":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo-16k":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"gpt-3.5-turbo-instruct":{maxTokens:4096,version:"gpt-3.5",type:"chat"},"text-davinci-003":{maxTokens:4096,version:"gpt-3.5",type:"text"},"text-davinci-002":{maxTokens:4096,version:"gpt-3.5",type:"text"},"text-curie-001":{maxTokens:2048,version:"gpt-3",type:"text"},"text-babbage-001":{maxTokens:2048,version:"gpt-3",type:"text"},"text-ada-001":{maxTokens:2048,version:"gpt-3",type:"text"},"code-davinci-002":{maxTokens:8001,version:"gpt-3.5",type:"codex"},"code-cushman-002":{maxTokens:2048,version:"gpt-3",type:"codex"}},lo="gpt-4-1106-preview";

Then deactivate and reactivate the extension, go to settings and update the model. And enjoy!

I use a different approach for this:
instead of change the gpt-4 to gpt-4o, I added this "gpt-4o":{maxTokens:8192,version:"gpt-4",type:"chat"},"gpt-4o-2024-05-13":{maxTokens:8192,version:"gpt-4",type:"chat"}, before "gpt-4-1106-preview" then on package.json on "genieai.openai.model" I also added two new models: "gpt-4o" and "gpt-4o-2024-05-13" related to what I added on extension.js

@ClicBizDev
Copy link

Congrat, it's cleaner than what I did :-)

@genieai-info
Copy link
Contributor

Hi everyone - The new models are now available in v0.0.11 please update your extensions. gpt-4o is set as default. The editor view issue is also fixed and now it uses your selected model instead of the deprecated legacy OpenAI model.

@IlmariKu
Copy link

Oh wow, thanks for coming back to the extension @genieai-info ! I've loved to use the extension, good to see I don't have to switch over to anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

10 participants