MDL-82977 AI: Provider instances 368114c7cd58f535678c85c611dbd5a7c299de88
authorMatt Porritt <matt.porritt@moodle.com>
Fri, 17 Jan 2025 04:38:48 +0000 (15:38 +1100)
committerMatt Porritt <matt.porritt@moodle.com>
Tue, 21 Jan 2025 21:43:13 +0000 (08:43 +1100)
commit368114c7cd58f535678c85c611dbd5a7c299de88
tree6039fcaf10c5b9e00ace7a1484077128f97c761b
parenteabd31c5d321c8450dacd60fa970dd0c3542c6e2
MDL-82977 AI: Provider instances

Create provider instances for AI povider plugins.
Each provider plugin can now have multiple instances,
allowing for different configurations and models using
the same base provider.
56 files changed:
.upgradenotes/MDL-82922-2025011702481097.yml [new file with mode: 0644]
ai/amd/build/aiprovider_action_management_table.min.js [new file with mode: 0644]
ai/amd/build/aiprovider_action_management_table.min.js.map [new file with mode: 0644]
ai/amd/build/aiprovider_instance_management_table.min.js [new file with mode: 0644]
ai/amd/build/aiprovider_instance_management_table.min.js.map [new file with mode: 0644]
ai/amd/build/providerchooser.min.js [new file with mode: 0644]
ai/amd/build/providerchooser.min.js.map [new file with mode: 0644]
ai/amd/src/aiprovider_action_management_table.js [new file with mode: 0644]
ai/amd/src/aiprovider_instance_management_table.js [new file with mode: 0644]
ai/amd/src/providerchooser.js [new file with mode: 0644]
ai/classes/admin/admin_setting_provider_manager.php [new file with mode: 0644]
ai/classes/external/delete_provider_instance.php [new file with mode: 0644]
ai/classes/external/set_action.php
ai/classes/external/set_policy_status.php
ai/classes/external/set_provider_status.php [new file with mode: 0644]
ai/classes/form/action_settings_form.php [new file with mode: 0644]
ai/classes/form/ai_provider_form.php [new file with mode: 0644]
ai/classes/hook/after_ai_provider_form_hook.php [new file with mode: 0644]
ai/classes/hook/before_provider_deleted.php [new file with mode: 0644]
ai/classes/hook/before_provider_disabled.php [new file with mode: 0644]
ai/classes/manager.php
ai/classes/placement.php
ai/classes/provider.php
ai/classes/table/aiplacement_action_management_table.php
ai/classes/table/aiprovider_action_management_table.php
ai/classes/table/aiprovider_management_table.php
ai/classes/table/aiprovider_management_table_filterset.php [new file with mode: 0644]
ai/configure.php [new file with mode: 0644]
ai/configure_actions.php [new file with mode: 0644]
ai/placement/courseassist/classes/external/summarise_text.php
ai/placement/courseassist/classes/placement.php
ai/placement/courseassist/classes/utils.php
ai/placement/courseassist/tests/behat/course_assist_summarise.feature
ai/placement/courseassist/tests/utils_test.php
ai/placement/editor/classes/placement.php
ai/placement/editor/classes/utils.php
ai/placement/editor/tests/utils_test.php
ai/templates/admin_action_settings.mustache [new file with mode: 0644]
ai/templates/admin_delete_provider.mustache [new file with mode: 0644]
ai/tests/behat/admin.feature
ai/tests/behat/behat_core_ai.php [new file with mode: 0644]
ai/tests/behat/reports.feature
ai/tests/generator/behat_core_ai_generator.php
ai/tests/generator/lib.php
ai/tests/manager_test.php
ai/tests/provider/provider_test.php
lang/en/ai.php
lang/en/deprecated.txt
lib/behat/classes/behat_generator_base.php
lib/classes/plugininfo/aiprovider.php
lib/db/install.xml
lib/db/services.php
lib/db/upgrade.php
lib/db/upgradelib.php
lib/editor/tiny/plugins/aiplacement/tests/behat/image.feature
lib/editor/tiny/plugins/aiplacement/tests/behat/text.feature