You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Framework: migrated from Next.js 16 + OpenNext to TanStack Start in SPA mode (Vite, Nitro). Pages are a static shell; the server only handles /api/*. Source moved under src/.
Deployment: one codebase builds for Cloudflare Workers (bun run cf:build / cf:deploy, @cloudflare/vite-plugin), Vercel (Nitro vercel preset), and Docker / Node (node .output/server/index.mjs). Existing Vercel projects whose Framework Preset is Next.js must switch it to Other.
Environment variables: CF_AI_GATEWAY_PROVIDERS, NEXT_PUBLIC_CF_AI_GATEWAY_PROVIDERS, and GOOGLE_API_KEY are removed. External Models are declared in CF_AI_GATEWAY_MODELS, with provider keys stored as AI Gateway BYOK. CF_ACCOUNT_ID and CF_WORKERS_AI_TOKEN are now optional.
Image page removed: /image and Image History are gone; images are generated inside conversations.
Settings: the settings dialog is replaced by /settings pages (General, Models, Providers, Voice, Data).
Added
Personal Providers (/settings/providers): visitors add their own provider key, through this deployment's AI Gateway or their own, and declare Personal Models by hand or pick them from the provider's model list (POST /api/personal-models). Credentials stay in the browser's localStorage, are never logged, and are excluded from backups. Through the deployment's gateway a request must carry the visitor's key and cannot use Dynamic Routes.
Personal image models: OpenAI Images API (size) and Gemini image output (aspect ratio) profiles.
Model layout (/settings/models): hide models, create, rename, and delete Model Groups, and reorder groups and models (buttons or drag). Stored locally.
Image generation in conversations: selecting a Text to Image model switches the input to image mode with params and up to 4 Reference Images. Any image in a conversation can be used as a reference; generated images enter the Model Context of image-capable chat models.
External Models through AI Gateway: BYOK, Unified Billing, and Gateway Routes (dynamic/*) declared in CF_AI_GATEWAY_MODELS.
Context attachments: document parsing with Workers AI toMarkdown and webpage extraction (Markdown for Agents, Workers AI toMarkdown, then Browser Run; SSRF protection) for every chat model.
Knowledge Base: read-only Cloudflare AI Search retrieval (RAG) with Citations (CF_AI_SEARCH_*).
Image params panel and FLUX.2 multi-image reference editing.
Browser-native Web Speech voice input and read-aloud, Custom Instructions, gateway cache toggle, Conversation History JSON export/import (optionally with images).
Responses show the model name on hover.
Announcement: APP_ANNOUNCEMENT (JSON with title, optional description and url; texts may be per language as {"en": …, "zh-CN": …}) shows a toast that stays until closed, with the link as a Details action; once closed it returns only when its content changes.
PWA: web app manifest, app icons and a Service Worker; the app installs and opens offline (ADR-0010). /api/* is never cached.
SEO / GEO: descriptive title and meta, Open Graph / Twitter cards, JSON-LD, a <noscript> summary, robots.txt and llms.txt. Optional build-time SITE_URL adds a canonical link, absolute share-image URLs and sitemap.xml.
Changed
Theme and model preferences move from cookies to localStorage; the chat and image model selections merge into one.
External Models declared in CF_AI_GATEWAY_MODELS now come first in the model picker, and new visitors start on the first one.
The browser UI color (theme-color) follows the app theme.
Toasts appear at the top right, so they no longer cover the chat input on phones.
The Markdown renderer (Streamdown, KaTeX, Shiki) loads only when a conversation needs it, keeping it off the home page; streamed responses re-render at most every 50 ms.
Migration from 5.x
Data migrates on first load: cookie preferences move to localStorage, and Dexie v4 turns Image History into an ordinary "Image History" conversation.
Replace CF_AI_GATEWAY_PROVIDERS / GOOGLE_API_KEY with an AI Gateway BYOK key plus CF_AI_GATEWAY_MODELS, CF_AI_GATEWAY_NAME, and CF_AI_GATEWAY_TOKEN.
Docker: same image, port, and variables.
Vercel: set Framework Preset to Other and clear custom build/output settings, then redeploy.