Skip to content

feat(ai-agents/flow-builder): Add target attribute in buttons coming from AI Agent#3188

Open
asastre wants to merge 2 commits intoai-agents/display-flow-builder-contentfrom
ai-agents/buttons-target-attribute
Open

feat(ai-agents/flow-builder): Add target attribute in buttons coming from AI Agent#3188
asastre wants to merge 2 commits intoai-agents/display-flow-builder-contentfrom
ai-agents/buttons-target-attribute

Conversation

@asastre
Copy link
Contributor

@asastre asastre commented Mar 18, 2026

Description

Add a new target attribute in the textWithButtons output schema in the AI Agent plugin and make them reach the render of the FlowButton in Flow Builder plugin so an URL button can open the link within the same window if stated in the AI Agent prompt.

Context

Through the AI Agent prompt there was no way to make a URL button to open the website within the same window as the webchat.

Testing

The pull request has unit tests.

asastre added 2 commits March 18, 2026 13:35
…target' in buttons generated by AI Agents to be able to specify the target of URL buttons (_blank or _self)
…on coming from an AI Agent is rendered correctly
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@asastre asastre changed the base branch from master to ai-agents/display-flow-builder-content March 18, 2026 13:01
@pull-request-size pull-request-size bot added size/M and removed size/L labels Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant