RagAction for AiAssistanAction states issue

Created on 8 September 2024, 13 days ago
Updated 9 September 2024, 12 days ago

Problem/Motivation

It seems there is an issue with the states set to the Rag Action on creating an Ai Assistant

Steps to reproduce

Using Open Ai, ai_search and the ai_assistant_api
Create a new assistant
See that when you toggle the Rag Action it doesn't show the configuration.

Proposed resolution

It seems the actual input name changed where states is checking for.

From

      '#states' => [
        'visible' => [
          ':input[name="rag_enabled"]' => ['checked' => TRUE],
        ],
      ],

to

      '#states' => [
        'visible' => [
          ':input[name="action_plugin_rag_action[enabled]"]' => ['checked' => TRUE],
        ],
      ],

🐛 Bug report
Status

Fixed

Version

1.0

Component

AI Search

Created by

🇳🇱Netherlands ronaldtebrake

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