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 support for GPT-4o in Copilot Chat #16446

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

Hawkbawk
Copy link
Contributor

Release Notes:

  • Added support for GPT-4o for Copilot Chat.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Aug 19, 2024
@zed-industries-bot
Copy link

zed-industries-bot commented Aug 19, 2024

Warnings
⚠️

This PR is missing release notes.

Please add a "Release Notes" section that describes the change:

Release Notes:

- Added/Fixed/Improved ...

If your change is not user-facing, you can use "N/A" for the entry:

Release Notes:

- N/A

Generated by 🚫 dangerJS against cb2bb4e

@@ -31,6 +31,8 @@ pub enum Role {
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq, EnumIter)]
pub enum Model {
#[default]
#[serde(alias = "gpt-4o", rename = "gpt-4o-2024-05-13")]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interestingly, the GitHub API requires you to specify the model precisely here, despite the other models accepting the more generic name. Not sure why 🤷

@bennetbo
Copy link
Collaborator

Thanks!

@bennetbo bennetbo merged commit 8a32066 into zed-industries:main Aug 19, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants