Skip to content

Migrate Mind setup to WordPress AI providers#6

Open
Fellan-91 wants to merge 24 commits into
mainfrom
chore/wp7-ai-client-migration-plan
Open

Migrate Mind setup to WordPress AI providers#6
Fellan-91 wants to merge 24 commits into
mainfrom
chore/wp7-ai-client-migration-plan

Conversation

@Fellan-91
Copy link
Copy Markdown

Summary

  • resolve Mind model readiness through the WordPress AI Client provider registry
  • validate saved model choices against the active WordPress AI provider configuration
  • expose setup state to the editor so users see the right Connectors or Mind settings action
  • refresh built assets and translation catalogs

Why

Mind now relies on WordPress 7 Connectors and AI provider metadata instead of treating a saved model name as enough to send requests. This prevents stale or unavailable models from being used silently and gives admins clearer recovery paths.

Validation

  • php -l classes/class-ai-api.php
  • npm run lint:js (passes with the existing activePreview dependency warning in src/editor/popup/components/ai-response/index.js)
  • npm run build:prod
  • verified the Mind settings screen in the local WordPress 7 admin

@Fellan-91 Fellan-91 requested a review from Copilot May 5, 2026 16:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

This comment was marked as resolved.

@Fellan-91 Fellan-91 marked this pull request as ready for review May 6, 2026 09:12
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.

2 participants