Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
feat: fix markdown rendering, UI adjustments
Shine1i8732f3befbfa
diff --git a/studio/frontend/public/blacklogo.png b/studio/frontend/public/blacklogo.pngindex df95e02291e..e74c19040a7 100644Binary files a/studio/frontend/public/blacklogo.png and b/studio/frontend/public/blacklogo.png differdiff --git a/studio/frontend/public/whitelogo.png b/studio/frontend/public/whitelogo.pngindex 5a3bc56354b..9db7c0e9439 100644Binary files a/studio/frontend/public/whitelogo.png and b/studio/frontend/public/whitelogo.png differdiff --git a/studio/frontend/src/components/assistant-ui/markdown-text.tsx b/studio/frontend/src/components/assistant-ui/markdown-text.tsxindex 1de2c47955a..3f18cfb9408 100644--- a/studio/frontend/src/components/assistant-ui/markdown-text.tsx+++ b/studio/frontend/src/components/assistant-ui/markdown-text.tsx@@ -1,20 +1,30 @@"use client";-import { INTERNAL } from "@assistant-ui/react";-import { StreamdownTextPrimitive } from "@assistant-ui/react-streamdown";+import { INTERNAL, useMessagePartText } from "@assistant-ui/react";import { code } from "@streamdown/code";import { math } from "@streamdown/math";import { mermaid } from "@streamdown/mermaid";+import { Streamdown } from "streamdown";import "katex/dist/katex.min.css";-const { withSmoothContextProvider } = INTERNAL;+const { withSmoothContextProvider, useSmoothStatus } = INTERNAL;const MarkdownTextImpl = () => {+ const { text } = useMessagePartText();+ const status = useSmoothStatus();+return (- <StreamdownTextPrimitive- plugins={{ code, math, mermaid }}- controls={true}- />+ <div data-status={status.type}>+ <Streamdown+ mode="streaming"+ isAnimating={status.type === "running"}+ plugins={{ code, math, mermaid }}+ controls={true}+ shikiTheme={["github-light", "github-dark"]}+ >+ {text}+ </Streamdown>+ </div>);};diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsxindex aaaca0eeb39..f57effdf9f5 100644--- a/studio/frontend/src/components/assistant-ui/thread.tsx+++ b/studio/frontend/src/components/assistant-ui/thread.tsx@@ -70,7 +70,7 @@ export const Thread: FC<{ hideComposer?: boolean; hideWelcome?: boolean }> = ({}}/>- <ThreadPrimitive.ViewportFooter className="aui-thread-viewport-footer sticky bottom-0 mt-auto flex w-full flex-col gap-4 overflow-visible bg-background pb-4 md:pb-4 before:pointer-events-none before:absolute before:inset-x-0 before:bottom-full before:h-20 before:bg-gradient-to-t before:from-background before:to-transparent">+ <ThreadPrimitive.ViewportFooter className="aui-thread-viewport-footer sticky bottom-0 mt-auto flex w-full flex-col gap-4 overflow-visible bg-background pb-4 md:pb-4"><ThreadScrollToBottom /><AuiIf condition={({ thread }) => !thread.isEmpty}>{!hideComposer && <ComposerAnimated />}diff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsxindex 5528cefed9f..4557639bcbd 100644--- a/studio/frontend/src/features/chat/chat-page.tsx+++ b/studio/frontend/src/features/chat/chat-page.tsx@@ -208,7 +208,7 @@ function InlineSidebar({return (<div- className="group shrink-0 h-full"+ className="group shrink-0 h-full pb-3.5"data-state={state}data-collapsible={collapsed ? "offcanvas" : ""}data-side={side}diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsxindex 6e081d9d6a9..26b6efdc099 100644--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx@@ -195,7 +195,7 @@ export function ChatSettingsPanel({return (<aside- className={`shrink-0 h-full overflow-hidden bg-muted/70 rounded-2xl corner-squircle transition-[width] duration-200 ease-linear ${open ? "w-[17rem] border-l border-sidebar-border/70" : "w-0"}`}+ className={`shrink-0 self-start h-[calc(100%-0.875rem)] overflow-hidden bg-muted/70 rounded-2xl corner-squircle transition-[width] duration-200 ease-linear ${open ? "w-[17rem] border-l border-sidebar-border/70" : "w-0"}`}><div className="flex h-full w-[17rem] flex-col"><div className="flex items-center gap-2 px-4 py-3">diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex 919bde11861..4ed13bdb570 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -1,11 +1,13 @@@import "tailwindcss";@import "tw-animate-css";@import "shadcn/tailwind.css";+@import "streamdown/styles.css";@import "@fontsource-variable/figtree";@import "@fontsource-variable/space-grotesk";@import "@fontsource-variable/inter";@import "tw-shimmer";@plugin "@toolwind/corner-shape";+@source "../node_modules/streamdown/dist/*.js";@font-face {font-family: "Hellix";@@ -363,4 +365,4 @@::view-transition-old(root), ::view-transition-new(root) {animation: none;mix-blend-mode: normal;-}\ No newline at end of file+}