Error while adding ai assistant

Created on 26 May 2025, 9 days ago

Problem/Motivation

When trying to add ai assistants the below error is thrown:

The website encountered an unexpected error. Try again later.

TypeError: Cannot assign null to property Drupal\ai_assistant_api\Entity\AiAssistant::$llm_model of type string in Drupal\Core\Config\Entity\ConfigEntityBase->set() (line 173 of core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php).

Steps to reproduce

Navigate to admin/config/ai/ai-assistant/add and add an assistant, on click of save the error appears.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

šŸ› Bug report
Status

Active

Version

1.1

Component

AI Assistants API

Created by

šŸ‡®šŸ‡³India anjaliprasannan

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