TypeError: Drupal\ai\OperationType\Chat\ChatMessage::__construct()

Created on 13 March 2025, 24 days ago

Problem/Motivation

Error:

TypeError: Drupal\ai\OperationType\Chat\ChatMessage::__construct(): Argument #2 ($text) must be of type string, null given, called in /var/www/html/htdocs/web/modules/contrib/ai_provider_azure/src/Plugin/AiProvider/AzureProvider.php on line 371 in Drupal\ai\OperationType\Chat\ChatMessage->__construct() (line 47 of modules/contrib/ai/src/OperationType/Chat/ChatMessage.php). Drupal\ai_provider_azure\Plugin\AiProvider\AzureProvider->chat()
ReflectionMethod->invokeArgs() (Line: 193)
Drupal\ai\Plugin\ProviderProxy->wrapperCall() (Line: 103)
Drupal\ai\Plugin\ProviderProxy->__call() (Line: 645)
...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium baikho Antwerp, BE

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