Do fallback if no default operation type is set in Agents Explorer

Created on 12 May 2025, 3 days ago

Problem/Motivation

Warning: Trying to access array offset on null in Drupal\ai_agents_explorer\Form\AiAgentExplorerForm->buildForm() (line 127 of modules/contrib/ai_agents/modules/ai_agents_explorer/src/Form/AiAgentExplorerForm.php).

Steps to reproduce

Don't install a chat_with_tools default
Go to Agents Explorer form.

Proposed resolution

Add a '?? NULL' or something similar.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

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