Description
When testing the Core AI feature in WordPress 7.0 RC, I encountered an issue while regenerating a post title.
Actual behavior:
A network error occurs:
cURL error 28: Operation timed out after 30006 milliseconds with 0 bytes received
In the browser console:
A 500 Internal Server Error is logged
The response unexpectedly includes the entire HTML of the page
Also noticed:
wp.abilities.executeAbility is unavailable. Falling back to REST.
Why this is an issue:
Returning full HTML in API response may indicate improper error handling
Could expose unintended data or create debugging/security concerns
Additional Notes:
Issue seems related to the request sent to:
https://router.huggingface.co/v1/chat/completions
Possibly caused by API timeout, but response handling appears incorrect
Step-by-step reproduction instructions
- Created a new post
- Entered blog title and content
- Clicked on “Re-generate” title option
- Checked the console log
Screenshots, screen recording, code snippet
Environment info
WordPress Version: 7.0 RC (Beta)
Feature: Core AI (Title Generation)
Browser: Chrome (latest)
Setup: Local/Development environment
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.
Description
When testing the Core AI feature in WordPress 7.0 RC, I encountered an issue while regenerating a post title.
Actual behavior:
A network error occurs:
cURL error 28: Operation timed out after 30006 milliseconds with 0 bytes received
In the browser console:
A 500 Internal Server Error is logged
The response unexpectedly includes the entire HTML of the page
Also noticed:
wp.abilities.executeAbility is unavailable. Falling back to REST.
Why this is an issue:
Returning full HTML in API response may indicate improper error handling
Could expose unintended data or create debugging/security concerns
Additional Notes:
Issue seems related to the request sent to:
https://router.huggingface.co/v1/chat/completions
Possibly caused by API timeout, but response handling appears incorrect
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WordPress Version: 7.0 RC (Beta)
Feature: Core AI (Title Generation)
Browser: Chrome (latest)
Setup: Local/Development environment
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.