Follow-up to #3530733: Allow for empty slots

Created on 10 July 2025, 26 days ago

Overview

Follow-up to #3530733-37: Introduce AI Agents and tools to Build Pages from components

I found in the instructions, something incorrect regarding slots.

If a component has `slots`, you **MUST** fill those slots with valid, appropriate child components. **There can be no empty slots.** Decompose complex requests into a logical hierarchy of parent and child components.

LLM are not forced to fill slot, it's completely valid to have empty slot, I'm not even sure we can set slot to be required.

For example I have a heading component that has optional 'Badge' slot to add a badge at the end.

Proposed resolution

User interface changes

📌 Task
Status

Active

Version

0.0

Component

AI

Created by

🇺🇸United States tim.plunkett Philadelphia

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

Comments & Activities

  • Issue created by @tim.plunkett
  • 🇮🇱Israel heyyo Jerusalem

    I suppose the instructions given to LLM should be improved, but I have to mention it doesn't happen all the time.
    I don't even remember which prompt I used to obtain such behavior, maybe also related to the abilities of the LLM picked.

Production build 0.71.5 2024