mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
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.
This commit is contained in:
parent
eabd31c5d3
commit
368114c7cd
56 changed files with 2987 additions and 477 deletions
|
@ -3260,6 +3260,12 @@ $functions = array(
|
|||
'ajax' => true,
|
||||
'readonlysession' => true,
|
||||
],
|
||||
'core_ai_delete_provider_instance' => [
|
||||
'classname' => \core_ai\external\delete_provider_instance::class,
|
||||
'description' => 'Delete a provider instance',
|
||||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
],
|
||||
'core_ai_set_policy_status' => [
|
||||
'classname' => 'core_ai\external\set_policy_status',
|
||||
'description' => 'Set a users AI policy acceptance',
|
||||
|
@ -3280,6 +3286,12 @@ $functions = array(
|
|||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
],
|
||||
'core_ai_set_provider_status' => [
|
||||
'classname' => \core_ai\external\set_provider_status::class,
|
||||
'description' => 'Set a providers status',
|
||||
'type' => 'write',
|
||||
'ajax' => true,
|
||||
],
|
||||
'core_sms_set_gateway_status' => [
|
||||
'classname' => 'core_sms\external\sms_gateway_status',
|
||||
'description' => 'Set the sms gateway status',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue