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

Ollama-API-Provider doesn't work with option 'Enable basic authentication'

XMLWordPrintable

    • MOODLE_500_STABLE
    • MDL-85301-Ollama-basic-auth
    • Hide

      Requirements:

      • Ollama installation with base authentication via proxy with username and password
      • Moodle version 5.0

      Website- Administration:

      • Add Ollama-API-Provider and enable basic authentication
      • use username and password you know from your ollama installation
      • in action setting activate and configure genrate text with your ollama model
      • in website-administration - ai - ai placement activate text editor placement

      create a course and add page

      I editor you see now Ai generate text symbol and you can input a prompt to create your text.

      Result: If connection is working correct your text will be created.

      Show
      Requirements: Ollama installation with base authentication via proxy with username and password Moodle version 5.0 Website- Administration: Add Ollama-API-Provider and enable basic authentication use username and password you know from your ollama installation in action setting activate and configure genrate text with your ollama model in website-administration - ai - ai placement activate text editor placement create a course and add page I editor you see now Ai generate text symbol and you can input a prompt to create your text. Result: If connection is working correct your text will be created.
    • Hide

      Fails against automated checks.

      Checked MDL-85301 using repository: https://github.com/Andre-learnbox/moodle.git

      Should these errors be fixed?

      Built on: Wed Apr 30 09:39:33 UTC 2025

      Show
      Fails against automated checks. Checked MDL-85301 using repository: https://github.com/Andre-learnbox/moodle.git Testing instructions are missing. MOODLE_500_STABLE (1 errors / 1 warnings) [branch: MDL-85301-Ollama-basic-auth | CI Job ] overview (0/0) , phplint (0/0) , phpcs (0/0) , js (0/0) , css (0/0) , phpdoc (0/0) , commit (1/1) , savepoint (0/0) , thirdparty (0/0) , externalbackup (0/0) , grunt (0/0) , shifter (0/0) , mustache (0/0) , gherkin (0/0) , Should these errors be fixed? Built on: Wed Apr 30 09:39:33 UTC 2025

      When you try to use  basic authentication for Ollama-API- Provider you didn't get an response.

      For me reason is, that one string in  ollama/provider.php isn't correct.

      More information can be found at https://moodle.org/mod/forum/discuss.php?d=467692

       

            Unassigned Unassigned
            andrebln André Krüger
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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