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

feat: add GPT-4o support #2082

Merged
merged 1 commit into from May 16, 2024
Merged

Conversation

PeterDaveHello
Copy link
Contributor

@Chanzhaoyu Chanzhaoyu merged commit f257a54 into Chanzhaoyu:main May 16, 2024
3 checks passed
@PeterDaveHello PeterDaveHello deleted the Add-GPT-4o branch May 16, 2024 06:21
// if use GPT-4 Turbo
else if (/-preview|-turbo/.test(model.toLowerCase())) {
// if use GPT-4 Turbo or GPT-4o
else if (/-preview|-turbo|-o/.test(model.toLowerCase())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, no, it should be -4o 🙈

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I saw that @Chanzhaoyu changed it to just o

e3ce91c

Copy link
Owner

Choose a reason for hiding this comment

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

😁

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

Successfully merging this pull request may close these issues.

None yet

2 participants