-
Bug
-
Resolution: Fixed
-
Minor
-
4.5
-
MOODLE_405_STABLE
-
MOODLE_405_STABLE
-
MDL-83312-main -
-
2
-
Team Hedgehog 2024 Sprint 3.3
Discovered while testing MDL-83276.
Steps to reproduce
- Login as admin.
- Go to Site administration > AI > Manage settings for AI providers.
- Enable any of the providers (for instance, OpenAI), but ensure there are no keys set
- Go to Site administration > AI > Manage settings for AI placements.
- Enable HTML Text Editor Placement.
- Edit your user profile (for the TinyMCE editor).
- Open the Generate AI content > AI generate text.
- Write any text and click the Generate text button.
Current behaviour
A "Something went wrong. Try again later" error is displayed.
Expected behaviour
I expect that the Generate AI content options won't be displayed if no provider is configured properly.