Issue with adding AI field

Created on 4 January 2024, 9 months ago
Updated 18 January 2024, 8 months ago

I am encountering an issue when trying to add ai field.

Steps Reproduce:

1: Install the module using Composer with the command: composer require 'drupal/ai_field:1.0.x-dev@dev'.

2: After adding the "OpenAI API key" when we trying add "AI field inside of content type" it throws warnings, warnings mentioned below.

Undefined property: stdClass::$data in Drupal\ai_field\Controller\AIFieldController->listModels()

foreach() argument must be of type array|object, null given in Drupal\ai_field\Controller\AIFieldController->listModels()

I've attached an image illustrating my actions—installing the module and searching within the extended panel.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India aman_lnwebworks

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024