Add validation to determineFieldConfigurations

Created on 17 February 2025, about 2 months ago

Problem/Motivation

Error: Cannot use object of type Drupal\ai\OperationType\Chat\ChatMessage as array in Drupal\ai_agents\Plugin\AiAgent\FieldType->storeFieldConfigurations() (line 419 of /var/www/html/web/modules/contrib/ai_agents/src/Plugin/AiAgent/FieldType.php).

#0 /var/www/html/web/modules/contrib/ai_agents/src/Plugin/AiAgent/FieldType.php(663): Drupal\ai_agents\Plugin\AiAgent\FieldType->storeFieldConfigurations()
#1 /var/www/html/web/modules/contrib/ai_agents/src/Plugin/AiAgent/FieldType.php(312): Drupal\ai_agents\Plugin\AiAgent\FieldType->createField()

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

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