- Issue created by @Akhil Babu
- 🇩🇪Germany marcus_johansson
Ah, this is already merged from another issue. But since you found it and wrote the code before that happened, I'll credit you!
Automatically closed - issue fixed for 2 weeks with no activity.
Getting the following error after clicking the 'Add AI Agent' button
TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/html/web/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 238 in Drupal\Component\Utility\Html::escape() (line 431 of core/lib/Drupal/Component/Utility/Html.php).
Install the latest dev release of the module
Go to admin/config/ai/agents and click 'Add AI Agent' .
The error is triggered from Drupal\ai_agents\Form\AiAgentForm::form
$form['#title'] = $this->t('AI agent: %label', [
'%label' => $this->entity->label(),
]);
$this->entity->label()
is null while adding a new agent.
Active
1.1
Code
Ah, this is already merged from another issue. But since you found it and wrote the code before that happened, I'll credit you!
Automatically closed - issue fixed for 2 weeks with no activity.