Theme
Design your own
On this page (2)

§AI Chat

The whole chat in one source. Chats are routes (#/c/...) of defuss-dom-router; Settings › Language translates the chrome with defuss-i18n; the sidebars are the Sidebar component, the transcript the Session, every message a Message with a Bubble. Answers come from a local demo model, or from any OpenAI-compatible API set in Controls › Connection.

§How it works

A page, not a component: it composes the library and keeps its own glue small. It adapts the ai-chat example of defuss - conversations, streaming, message actions, the settings sidebar and the sign-in - to the shipped components, in the look of Open WebUI.

Comments, ideas or improvements? Edit this page's source on GitHub