Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83376

Missing function core_ai\provider::is_request_allowed

XMLWordPrintable

    • 2
    • Team Hedgehog 2024 Review 4

      I was trying to play with AI subsystem and add a plugin generator to MDLCode

      So the base class \core_ai\provider does not have a method is_request_allowed() but it is called from \core_ai\process_base::process() as if it was part of the API:

      https://github.com/moodle/moodle/blob/v4.5.0/ai/classes/process_base.php#L53

      I only could figure it out while opening network inspector and inspecting service.php calls, the error in the UI is not helpful either, it just says "something went wrong". No debugging information for developers even though all dev debugging is on

            meirza.arson@moodle.com Meirza
            marina Marina Glancy
            Raquel Ortega Raquel Ortega
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 52 minutes
                2h 52m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.