Impossible to set a URL or SRC of an SDC with AI

Created on 9 July 2025, 3 days ago

Overview

This prompt won't set the url on the requested button
Place a button with link to https://new.drupal.org/ai

We can see the LLM answer is correct,

But for some reason XB doesn't take it in consideration and keep using default value set by the examples key.
Same issue for image.src prop.

I modified the instructions like this to be sure llm generates the links:

        *   **Links:** If a URL is not specified in the prompt, always use `href: "#"` 
        *   **Images:** Configure `aspect_ratio` and other non-content props, If a SRC is not specified in the prompt,  **NEVER** generate `src` or `alt` props.

Proposed resolution

User interface changes

🐛 Bug report
Status

Active

Version

0.0

Component

AI

Created by

🇮🇱Israel heyyo Jerusalem

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024