Prerequisites
Describe the bug
The AI API connectors do not accept keys when the "AI Plugin" is enabled in Playground.
You can add the API keys which are accepted. When you then enable the AI Plugin the connectors go back to "Setup mode" and will not accept API keys unless you disable the AI Plugin.
Expected behavior
Add the API keys, enable the AI Plugin. Use AI in WordPress
Actual behavior
Add the API Keys, enable the AI plugin. Go to (for example) create an AI Image. You get an error with API. You to the API Keys page and they all display "Setup" e.g. you need to setup the API keys. If you reenter the API keys you get an error message.
"The AI plugin requires a valid AI Connector to function properly. Please review the AI Connectors you have configured to ensure they are valid."
Steps to reproduce
- Go to API keys
- Enter API keys (they are all accepted)
- Top of screen enable "AI Plugin"
- Goto (for example) images and add an AI image
- Error with API keys
- Goto to API Keys screen
- All API keys are reset back to "Setup"
- Try to enter API keys - Error when adding API Keys
Isolating the problem
Prerequisites
Describe the bug
The AI API connectors do not accept keys when the "AI Plugin" is enabled in Playground.
You can add the API keys which are accepted. When you then enable the AI Plugin the connectors go back to "Setup mode" and will not accept API keys unless you disable the AI Plugin.
Expected behavior
Add the API keys, enable the AI Plugin. Use AI in WordPress
Actual behavior
Add the API Keys, enable the AI plugin. Go to (for example) create an AI Image. You get an error with API. You to the API Keys page and they all display "Setup" e.g. you need to setup the API keys. If you reenter the API keys you get an error message.
"The AI plugin requires a valid AI Connector to function properly. Please review the AI Connectors you have configured to ensure they are valid."
Steps to reproduce
Isolating the problem