Skip to main content

Live Chat Demo

The embedded demo is the same Flutter example app from example/lib/main.dart, built as a static web app and served from the documentation site.

This page is refreshed for the 0.3.6 release so the docs demo matches the current shipped example, including the default Fade reveal, render-backed selection, cross-table dragging, scroll-edge selection, LaTeX rendering, and web parser support.

It can connect to:

  • local Ollama through http://localhost:11434
  • OpenAI / ChatGPT compatible streaming APIs
  • Anthropic Claude Messages streaming
  • Gemini streamGenerateContent
  • xAI Grok through the OpenAI-compatible chat completions API

Local Ollama

Run Ollama locally, pull a model, then use the default provider in the demo:

ollama serve
ollama pull llama3.2

The demo sends requests to /api/chat and renders streamed Markdown responses with AnimatedStreamingMarkdown.

Cloud Providers

Pick a provider from the dropdown, enter a model and API key, and send a message. API keys entered in the demo stay in the browser session. The docs build does not bundle .env secrets.