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

AI: Incorrect default model for OpenAI image action

XMLWordPrintable

    • 2
    • Team Hedgehogs 2025 Sprint 1.3, Team Hedgehogs 2025 Sprint 1.4

      The default model name for the Generate image action for the OpenAI provider is not correct.

      It should be DALL-e-3 instead of GPT -4o

      Steps to replicate:

      1. Create a new Moodle instance.
      2. Login as admin.
      3. Create OpenAI provider.
      4. Navigate to OpenAI provider -> Settings for Generate image action.
      5. Verify the AI model.

      Expected: It should be DALL-e-3

      Actual: AI model is Custom with Custom model name is gpt-4o

       

      Updated description

      Normally, we have 4o and O1 for text generation. We have Dall-E-2 and Dall-E-3 for image generation.

      According to: https://openai.com/index/introducing-4o-image-generation/

      OpenAI decided to support image generation for 4o.

      It is not available via API yet, but it will be there soon:

      Developers will soon be able to generate images with GPT‑4o via the API, with access rolling out in the next few weeks.

      So we need to modify our codebase to make the pre-defined models support multiple types. e.g.: Text generation, Image generation, Audio generation (in the future)

      So we can easily enable them in the future

        1. (1) 10 Passed -- (Main)MDL-84819.png
          62 kB
          Kim Jared Lucas
        2. (1) 8 Passed -- (Main)MDL-84819.png
          43 kB
          Kim Jared Lucas

            huongn@moodle.com Huong Nguyen
            huongn@moodle.com Huong Nguyen
            Raquel Ortega Raquel Ortega
            Jun Pataleta Jun Pataleta
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 38 minutes
                4h 38m

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