Skip to content

feat(nuxi): suggest contextual follow-up questions - #2677

Draft
HugoRCD wants to merge 2 commits into
codex/nuxi-chat-renderingfrom
codex/nuxi-follow-up-suggestions
Draft

HugoRCD wants to merge 2 commits into
codex/nuxi-chat-renderingfrom
codex/nuxi-follow-up-suggestions

Conversation

@HugoRCD

@HugoRCD HugoRCD commented Nov 18, 2026

Copy link
Copy Markdown
Member

Written by an AI agent on behalf of @HugoRCD. @HugoRCD has not reviewed it yet.

Add up to two contextual follow-up questions below Nuxi's latest answer, helping users learn, debug, or apply what they just read. The pills appear after streaming finishes in both the main chat and documentation sidebar; selecting one sends it through the existing chat flow.

Stacked on #2671. Merge the chat rendering PR first, then retarget this PR to main.

Preview

Actual chat components with sanitized, deterministic demo answers. These captures verify rendering and interaction; live model suggestion quality has not been evaluated. The streaming recording preserves its original 10 fps capture cadence.

Preview (Main chat and documentation sidebar)
Preview
Preview (Mobile)
Preview

Preview (Streaming replay)

demo.mp4

Implementation and validation

  • Generate suggestions in the existing web answer using a native Comark component, with no second AI request. Other surfaces keep their existing instructions.
  • Reuse Nuxt UI buttons, hide suggestions on older answers or at the rate limit, respect reduced motion, and exclude the component from copied answers.
  • Full ESLint and Vue type checks pass; all 51 focused chat tests pass, including suggestion parsing and streaming regressions.
  • Checked learning/debugging examples, click-to-send, hidden pills during streaming, and a 390px mobile viewport without horizontal overflow in Chrome.

After Nuxi answers, it can offer a couple of useful next questions. Tap one to keep learning or work through the next problem.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
nuxt Ready Ready Preview Nov 18, 2026 2:16pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 592f80ad Deployed Nov 18, 2026 by vercel[bot] via e2e #10333
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