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

Generate Commit Message "OpenAI GPT-4 Turbo" Support #3005

Closed
4itech-paul opened this issue Nov 9, 2023 · 4 comments
Closed

Generate Commit Message "OpenAI GPT-4 Turbo" Support #3005

4itech-paul opened this issue Nov 9, 2023 · 4 comments
Assignees
Labels
area-ai Issues or features related to AI feature New feature or request
Milestone

Comments

@4itech-paul
Copy link

Is it possible to incorporate support for OpenAI GPT-4 Turbo into the "Generate Commit Message" feature? This model was recently released.

@4itech-paul 4itech-paul added feature New feature or request triage Needs to be looked at labels Nov 9, 2023
@ivanscorral
Copy link

ivanscorral commented Nov 14, 2023

You can manually set the model to "gpt-4-1106-preview" in VS Code's settings.json like this:

"gitlens.ai.experimental.openai.model": "gpt-4-1106-preview"

I can confirm this works, even if VSCode displays a warning saying that the value is not accepted. You can check this by setting the model to some model that does not exist. This will return a 404 error, meaning that the extension correctly reads the model you manually set here.

Also, around ~10 minutes after executing some requests using this model you should be able to see the usage popping up in https://platform.openai.com/usage.

In my experimentation, GPT-4 Turbo yields much better results than GPT-4, while being much faster and, although more costly than 3.5 Turbo, its quality is far beyond.

Hope this is helpful.

@4itech-paul
Copy link
Author

thanks a lot

@eamodio eamodio reopened this Nov 15, 2023
@eamodio eamodio added area-ai Issues or features related to AI and removed triage Needs to be looked at labels Nov 15, 2023
@eamodio eamodio added this to the 14.6 milestone Nov 15, 2023
@eamodio eamodio self-assigned this Nov 15, 2023
@eamodio eamodio added the pending-release Resolved but not yet released to the stable edition label Nov 15, 2023
@eamodio
Copy link
Member

eamodio commented Nov 15, 2023

In tomorrow's pre-release this will be a supported option as well as refined prompts for better outputs

@d13 d13 removed the pending-release Resolved but not yet released to the stable edition label Nov 21, 2023
@d13 d13 modified the milestones: 14.6, 14.5-patch Nov 21, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-ai Issues or features related to AI feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants