[Fix]: Issue 264 | Anthropic with Title Gen#341
[Fix]: Issue 264 | Anthropic with Title Gen#341TylerB24890 wants to merge 1 commit intoWordPress:developfrom
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❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #341 +/- ##
=============================================
- Coverage 57.85% 57.69% -0.16%
- Complexity 615 616 +1
=============================================
Files 46 46
Lines 3165 3158 -7
=============================================
- Hits 1831 1822 -9
- Misses 1334 1336 +2
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:
|
What?
Closes #264
This PR removes the multiple candidates from the Title Generation experiment and makes it return only one. All E2E and unit tests updated accordingly.
Why?
As described in #264 -- Anthropic and OpenAI no longer support multiple candidate responses. This PR ensures the title generation logic continues to work even if only one of those models is currently connected.
How?
Remove all references to candidates within the Title Generation experiment. With the removal of multiple candidates per response, the modal UI has been removed and titles are just inserted into the post directly. Editors can then regenerate the title as needed using the existing toolbar button.
Use of AI Tools
Testing Instructions