ArgumentCountError: Too few arguments to function Drupal\ai\Base\FunctionCallBase::__construct()

Created on 26 June 2025, 11 days ago

Problem/Motivation

When trying to add ai agent geting this error
ArgumentCountError: Too few arguments to function Drupal\ai\Base\FunctionCallBase::__construct(), 4 passed in /var/www/html/modules/contrib/ai_agents/src/Plugin/AiFunctionCall/GetCurrentContentEntityValues.php on line 61 and exactly 5 expected in Drupal\ai\Base\FunctionCallBase->__construct() (line 72 of modules/contrib/ai/src/Base/FunctionCallBase.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.2

Component

Code

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