The human-readable module name is not defined in the EnableModule agent

Created on 2 February 2025, 2 months ago

Problem

The human-readable module name is not defined in the EnableModule agent, causing the agent to break.
Error:
Warning: Undefined array key "readable_name" in Drupal\ai_agents_extra\Plugin\AiAgent\ModuleEnable->solve() (line 239 of /var/www/html/web/modules/contrib/ai_agents/modules/ai_agents_extra/src/Plugin/AiAgent/ModuleEnable.php)

Steps to reproduce

Enable the Enable Module agent and try to enable a module.

Proposed resolution

Adding the readable_name variable in the solve() function.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇮🇹Italy Vincenzo Gambino

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