Skip to content

fix assistant-ui follow-up actions - #985

Open
vishxrad wants to merge 10 commits into
mainfrom
agent/fix-assistant-ui-follow-ups
Open

fix assistant-ui follow-up actions#985
vishxrad wants to merge 10 commits into
mainfrom
agent/fix-assistant-ui-follow-ups

Conversation

@vishxrad

@vishxrad vishxrad commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • forward present_openui continuation actions to assistant-ui as new user messages
  • support FollowUpBlock turns automatically and optional ListBlock drill-down actions through @ToAssistant
  • handle OpenUI URL actions in a new isolated tab
  • align the model-visible tool description, generated instructions, package README, and canonical docs with the action contract
  • add renderer-level regressions for follow-up, clickable-list, and URL actions

Root cause

OpenUIPresent rendered OpenUI without an onAction handler. Follow-up and clickable-list components therefore emitted actions that were silently dropped, even though the default chat library asks models to generate them.

The generated instructions also told models not to use terminal @ToAssistant actions with present_openui, which contradicted the ListBlock action contract. The updated guidance distinguishes optional list drill-down actions from required form or choice submission.

Package version

Bumps @openuidev/assistant-ui to 0.0.3 for this release.

Validation

  • pnpm --filter @openuidev/assistant-ui run ci (18 tests)
  • pnpm --filter @openuidev/assistant-ui run build
  • pnpm --filter @openuidev/assistant-ui run check:publint
  • pnpm --filter @openuidev/assistant-ui run check:attw
  • pnpm --filter @openuidev/docs run types:check
  • pnpm --filter @openuidev/docs run build

Related to assistant-ui/assistant-ui#5925

The separately discovered react-ui chart hardening is tracked in #986.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openui-docs Ready Ready Preview Aug 14, 2026 6:06pm

Request Review

@vishxrad
vishxrad marked this pull request as ready for review August 14, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant