Prerequisites
Who is this for? Site administrators.
Teachers and students typically don’t need to do anything here.
Tutor AI (local_dttutor) depends on the Datacurso AI Provider (aiprovider_datacurso). Tutor AI will not work until the provider is installed and licensed. No additional configuration is required in Tutor AI itself: the plugin reads the license from the Datacurso AI Provider.
Required
1) Moodle version
- Moodle 4.5 to 5.2 (Moodle 4.5 is required by the Datacurso AI Provider dependency; 5.0 and later need Tutor AI 2.0.11 or later)
2) Datacurso AI Provider installed (install it first)
- Install the Datacurso AI Provider plugin, version 2026072300 or later.
- Install the provider before Tutor AI. Moodle refuses to install
local_dttutor2.0.8 ifaiprovider_datacurso2026072300 or later is not already present.
3) Valid license key configured in Datacurso AI Provider
- Add/configure a valid license key in the Datacurso AI Provider settings.
- Tutor AI uses that license directly; there is nothing to copy or configure in Tutor AI.
Common errors
Tutor AI shows one of the following messages when a prerequisite is missing:
| Message | Meaning | What to do |
|---|---|---|
API configuration is missing. Please check your settings. (error_api_not_configured) | The Datacurso AI Provider is not configured. | Complete the provider setup. |
The AI Tutor is unavailable because the AI provider is disabled on this site. (error_provider_disabled) | The Datacurso AI Provider is disabled in Moodle's AI administration. | Enable the provider (on Moodle 5.0 or later, its provider instance). |
Your site license does not allow access to the AI Tutor service. (error_license_not_allowed) | The license configured in the provider does not include Tutor AI. | Verify the license status or upgrade the plan in the Datacurso AI Provider. |
There are not enough AI credits available to process your request… (error_insufficient_tokens) | The site has run out of AI credits. | Add credits from the Datacurso AI Provider. |
The allowed consumption limit has been exceeded. Please try again at … (error_ratelimit_exceeded) | A per-plugin rate limit configured in the Datacurso AI Provider was reached. | Wait until the indicated time, or adjust the rate limit in the provider settings. |