Add support for the new gpt-image-2 model#456
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #456 +/- ##
==========================================
Coverage 66.90% 66.90%
Complexity 907 907
==========================================
Files 59 59
Lines 4699 4699
==========================================
Hits 3144 3144
Misses 1555 1555
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jeffpaul
left a comment
There was a problem hiding this comment.
Is there a way we can push these sorts of updates without having to ship a plugin release?
So this has been discussed multiple times previously but we could remove the preferred models list and rely on the AI Client and individual providers to determine what model to use. This could result in the latest models being used without any code changes (in this case, My preference is to maintain this preferred list and it's not hard for us to update these versions and have those go out in a subsequent release, but I do understand the benefit to removing this list and relying on the AI Client to decide. |
What?
Adds the new
gpt-image-2model to our preferred model listWhy?
OpenAI recently announced the new
gpt-image-2model and it supposedly is significantly better than the previous model and it's also cheaper to use.How?
gpt-image-2to our preferred model listgpt-image-1-minifrom that listUse of AI Tools
None
Testing Instructions
Changelog Entry