Error page when adding ai assistants when ai_agent module is not installed or uninstalled.

Created on 22 May 2025, 1 day ago

Problem/Motivation

I was trying to add ai assistant and I do not have ai agent installed, that ran to the error below.

The website encountered an unexpected error. Try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "ai_agent" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of 

Steps to reproduce

  • Either not enable the ai_agents module or uninstall the ai_agents module.
  • try adding ai assistant at admin/config/ai/ai-assistant and fill the fields.
  • On save the form you get the error page

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