Add support for autocomplete fields to be added to AI Automator

Created on 22 February 2025, 3 months ago

Problem/Motivation

I tried adding an entity reference field to my AI automator chain so that i can access the tokens for various fields from the referenced node in the AI automator. I found it challenging to do this otherwise. But i never got the autocomplete to work so still stuck on trying to access multiple node fields.

Apparently the Automator for ckeditor only handles text and file input.

Steps to reproduce

Add an ai automator chain with 2 fields. The first field is an entity reference field to a specific content type. The second field is just a text field to store the output. In the manage form display, I have set it to autocomplete (and also tried select list and checkbox radio buttons). I then enabled this ai automator within ckeditor. But when I click the AI Assistant button from within the ckeditor, the ai automator widget popup always shows the the first ai automator field as a textarea box and not an entity reference autocomplete field (or any of the other form display widgets like check box, select field etc).

This issue was created as a result of this slack thread:

https://drupal.slack.com/archives/CDL2YPBNX/p1740186254274939

Feature request
Status

Active

Version

1.1

Component

AI Automators

Created by

🇹🇹Trinidad and Tobago xamount

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