Skip to content

docs: enable the Ask AI assistant on the docs site - #275

Merged
antfu merged 1 commit into
mainfrom
docs/ask-ai-assistant
Aug 21, 2026
Merged

docs: enable the Ask AI assistant on the docs site#275
antfu merged 1 commit into
mainfrom
docs/ask-ai-assistant

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Intent

Turn on the "Ask AI" documentation assistant on the docs site — the same feature comark.dev ships. The comark-docs layer we already extend provides the whole thing (header button, chat panel, and the grounded /api/assistant streaming endpoint); it was simply disabled by default.

What changed

  • docs/app/app.config.ts: added an assistant block with enabled: true and Devframe-tailored faqQuestions (Getting Started, RPC & State, Adapters, Hub) shown before the first message.

Deploy note

The assistant endpoint authenticates through the Vercel AI Gateway. On Vercel it uses OIDC automatically; for local dev set AI_GATEWAY_API_KEY. The model defaults to anthropic/claude-sonnet-5 and can be overridden with NUXT_ASSISTANT_MODEL.

This PR was created with the help of an agent.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
devframe Ready Ready Preview Aug 21, 2026 12:30pm

@antfu
antfu merged commit 4fcf5dc into main Aug 21, 2026
11 checks passed
@antfu
antfu deleted the docs/ask-ai-assistant branch August 21, 2026 12:35
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.

2 participants