Overview

#3533458: Change CodeComponentDataProvider::getRequiredXbDataLibraries() to base its logic on information provided by the front-end rather than on naive string/regex matching introduced dataDependencies in component structure which is missed in modules/xb_ai/src/Plugin/AiFunctionCall/CreateComponent.php. This needs to be added to make component generation through AI work

Proposed resolution

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

narendrar created an issue. See original summary.

narendrar’s picture

Status: Active » Needs review
utkarsh_33’s picture

Status: Needs review » Reviewed & tested by the community

Tested this and it fixes the component creation task using AI. Marking it RTBC.

tim.plunkett made their first commit to this issue’s fork.

tim.plunkett’s picture

Version: 1.x-dev » 0.x-dev
Status: Reviewed & tested by the community » Fixed

Merged and backported

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.