Jetpack AI: Add suggest-guidelines proxy endpoint (FORNO-186)#47479
Jetpack AI: Add suggest-guidelines proxy endpoint (FORNO-186)#47479aagam-shah wants to merge 2 commits intotrunkfrom
Conversation
Adds a wpcom proxy endpoint that forwards guideline generation requests to the wpcom AI suggest-guidelines API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…es proxy - Accept and forward optional filters param to wpcom endpoint - Extensible structure for adding new filter types Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 🔴 Action required: Please include detailed testing steps, explaining how to test your change, like so: 🔴 Action required: We would recommend that you add a section to the PR description to specify whether this PR includes any changes to data or privacy, like so: 🔴 Action required: Please add missing changelog entries for the following projects: Use the Jetpack CLI tool to generate changelog entries by running the following command: Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage Summary1 file is newly checked for coverage.
Full summary · PHP report · JS report If appropriate, add one of these labels to override the failing coverage check:
Covered by non-unit tests
|
Summary
Adds a proxy endpoint at
/wpcom/v2/jetpack-ai/suggest-guidelinesthat forwards guideline generation requests for AI-powered content guidelines. Supports content filters (authors,categories) with extensible structure.Files changed
projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-agent-guidelines-ai.php— Proxy endpointTest plan
TBA