1441 |
ariadna |
1 |
# core_ai (subsystem) Upgrade notes
|
|
|
2 |
|
|
|
3 |
## 5.0
|
|
|
4 |
|
|
|
5 |
### Added
|
|
|
6 |
|
|
|
7 |
- - A new hook, `\core_ai\hook\after_ai_action_settings_form_hook`, has been introduced. It will allows AI provider plugins to add additional form elements for action settings configuration.
|
|
|
8 |
|
|
|
9 |
For more information see [MDL-82980](https://tracker.moodle.org/browse/MDL-82980)
|
|
|
10 |
- - AI provider plugins that want to implement `pre-defined models` and display additional settings for models must now extend the `\core_ai\aimodel\base` class.
|
|
|
11 |
|
|
|
12 |
For more information see [MDL-82980](https://tracker.moodle.org/browse/MDL-82980)
|
|
|
13 |
|
|
|
14 |
### Changed
|
|
|
15 |
|
|
|
16 |
- - The `\core_ai\form\action_settings_form` class has been updated to automatically include action buttons such as Save and Cancel.
|
|
|
17 |
- AI provider plugins should update their form classes by removing the `$this->add_action_buttons();` call, as it is no longer required.
|
|
|
18 |
|
|
|
19 |
For more information see [MDL-82980](https://tracker.moodle.org/browse/MDL-82980)
|
|
|
20 |
|
|
|
21 |
### Deprecated
|
|
|
22 |
|
|
|
23 |
- The ai_provider_management_table has been refactored to inherit from flexible_table instead of plugin_management_table. As a result the methods get_plugintype and get_action_url are now unused and have been deprecated in the class.
|
|
|
24 |
|
|
|
25 |
For more information see [MDL-82922](https://tracker.moodle.org/browse/MDL-82922)
|