Skip to content

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.

Studio: Images icon for Reference, file search icon for Chat with files (#15806)

Michael Han926a8f912a57
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 14d3be2537a..4a2a50b078d 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -432,7 +432,7 @@ import {
Delete02Icon,
Download01Icon,
Edit03Icon,
- FileDatabaseIcon,
+ FileSearchIcon,
FolderAttachmentIcon,
Folder01Icon,
FolderAddIcon,
@@ -6933,7 +6933,7 @@ const ComposerToolsMenu: FC<{
setRagEnabled(!ragEnabled);
}}
>
- <HugeiconsIcon icon={FileDatabaseIcon} strokeWidth={2} />
+ <HugeiconsIcon icon={FileSearchIcon} strokeWidth={2} />
Chat with files
{ragEnabled && !ragDisabled ? (
<HugeiconsIcon icon={Tick02Icon} strokeWidth={2} className="ml-auto" />
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index 94237fd5441..76e8192d05e 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.tsx
@@ -118,7 +118,7 @@ import {
Bookmark02Icon,
CodeIcon,
Download01Icon,
- FileDatabaseIcon,
+ FileSearchIcon,
Folder01Icon,
FolderAddIcon,
Image03Icon,
@@ -2489,7 +2489,7 @@ export function SharedComposer({
setRagEnabled(!ragEnabled);
}}
>
- <HugeiconsIcon icon={FileDatabaseIcon} strokeWidth={2} />
+ <HugeiconsIcon icon={FileSearchIcon} strokeWidth={2} />
Chat with files
{ragEnabled && !ragDisabled ? (
<HugeiconsIcon icon={MenuTickIcon} strokeWidth={2} className="ml-auto" />
diff --git a/studio/frontend/src/features/images/workflows.ts b/studio/frontend/src/features/images/workflows.ts
index 4603438a8b8..d9c9b5662dc 100644
--- a/studio/frontend/src/features/images/workflows.ts
+++ b/studio/frontend/src/features/images/workflows.ts
@@ -5,12 +5,12 @@ import {
AiImageIcon,
ArrowExpand01Icon,
Edit03Icon,
- ImageUpload01Icon,
MagicWand01Icon,
ZoomInAreaIcon,
} from "@hugeicons/core-free-icons";
import type { IconSvgElement } from "@hugeicons/react";
// Relative with .ts: the node tests import this file and cannot resolve @/.
+import { ImagesIcon } from "../../lib/hugeicons-derived.ts";
import { PaintbrushIcon } from "../../lib/paintbrush-icon.ts";
export type WorkflowId =
@@ -78,7 +78,7 @@ export const WORKFLOW_TABS: Array<{
{
id: "reference",
label: "Reference",
- icon: ImageUpload01Icon,
+ icon: ImagesIcon,
requires: "reference",
hint: "Generate guided by a reference image",
},
diff --git a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
index 24aac5539b0..1e42141697c 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
@@ -4,7 +4,7 @@
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { Tick02Icon } from "@/lib/tick-icon";
import { HugeiconsIcon } from "@hugeicons/react";
-import { FileDatabaseIcon, Cancel01Icon } from "@hugeicons/core-free-icons";
+import { Cancel01Icon, FileSearchIcon } from "@hugeicons/core-free-icons";
import { FileGlyph } from "@/lib/file-icon";
import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
@@ -133,7 +133,7 @@ export function KnowledgeBaseComposerButton({
className="composer-pill-glyph cursor-pointer"
>
<HugeiconsIcon
- icon={FileDatabaseIcon}
+ icon={FileSearchIcon}
strokeWidth={2}
className="size-[calc(15px*var(--ui-space-scale,1))]"
/>
diff --git a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
index a45d9bde3d1..fe2367cc8c0 100644
--- a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
+++ b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
@@ -16,7 +16,7 @@ import {
import { HugeiconsIcon } from "@hugeicons/react";
import {
AttachmentIcon,
- FileDatabaseIcon,
+ FileSearchIcon,
Folder02Icon,
FolderAttachmentIcon,
PlusSignIcon,
@@ -1343,7 +1343,7 @@ export function ThreadDocumentsBar({
{/* Keyed per mode: the strip's observers attach on mount, and this one has no strip. */}
<ChatFilesPanel
key="kb"
- icon={FileDatabaseIcon}
+ icon={FileSearchIcon}
title={activeKbName ? `Knowledge base: ${activeKbName}` : "Knowledge base"}
onClose={() => setRagPanelHidden(true)}
closeLabel="Hide files"
@@ -1421,7 +1421,7 @@ export function ThreadDocumentsBar({
{kbDialog}
<ChatFilesPanel
key="files"
- icon={FileDatabaseIcon}
+ icon={FileSearchIcon}
title="Chat with files"
titleSuffix="(RAG)"
count={countSuffix}
diff --git a/studio/frontend/src/features/settings/tabs/chat-tab.tsx b/studio/frontend/src/features/settings/tabs/chat-tab.tsx
index 2eb6abe06df..99a702d7c62 100644
--- a/studio/frontend/src/features/settings/tabs/chat-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/chat-tab.tsx
@@ -35,7 +35,7 @@ import { cn } from "@/lib/utils";
import {
Bookmark02Icon,
Download01Icon,
- FileDatabaseIcon,
+ FileSearchIcon,
Folder01Icon,
LibrariesIcon,
McpServerIcon,
@@ -108,7 +108,7 @@ const PLUS_MENU_SETTINGS: {
labelKey: "settings.chat.menu.chatWithFiles",
icon: (
<HugeiconsIcon
- icon={FileDatabaseIcon}
+ icon={FileSearchIcon}
strokeWidth={2}
className={PLUS_MENU_ICON_CLASS}
/>
diff --git a/studio/frontend/src/lib/hugeicons-derived.ts b/studio/frontend/src/lib/hugeicons-derived.ts
index d4f6079ad7d..a7029e46622 100644
--- a/studio/frontend/src/lib/hugeicons-derived.ts
+++ b/studio/frontend/src/lib/hugeicons-derived.ts
@@ -57,6 +57,14 @@ export const FolderPlusIcon: IconSvgElement = [
],
];
+// HugeIcons "images" from @hugeicons/core-free-icons 4.3.5; the installed 4.1 predates it.
+export const ImagesIcon: IconSvgElement = [
+ ["path", { d: "M4 17.0429L8.75635 12.6942C10.4331 11.1612 11.2714 10.3947 12.3096 10.3191C13.3478 10.2435 14.2884 10.8805 16.1695 12.1545L17.5 13.0556", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }],
+ ["path", { d: "M7.375 7.25H7.25M7.5 7.25C7.5 7.38807 7.38807 7.5 7.25 7.5C7.11193 7.5 7 7.38807 7 7.25C7 7.11193 7.11193 7 7.25 7C7.38807 7 7.5 7.11193 7.5 7.25Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],
+ ["path", { d: "M6 17.9745C6.1287 19.2829 6.41956 20.1636 7.07691 20.8209C8.25596 22 10.1536 22 13.9489 22C17.7442 22 19.6419 22 20.8209 20.8209C22 19.6419 22 17.7442 22 13.9489C22 10.1536 22 8.25596 20.8209 7.07691C20.1636 6.41956 19.2829 6.1287 17.9745 6", stroke: "currentColor", strokeWidth: "1.5", key: "2" }],
+ ["path", { d: "M2 10C2 6.22876 2 4.34315 3.17157 3.17157C4.34315 2 6.22876 2 10 2C13.7712 2 15.6569 2 16.8284 3.17157C18 4.34315 18 6.22876 18 10C18 13.7712 18 15.6569 16.8284 16.8284C15.6569 18 13.7712 18 10 18C6.22876 18 4.34315 18 3.17157 16.8284C2 15.6569 2 13.7712 2 10Z", stroke: "currentColor", strokeWidth: "1.5", key: "3" }],
+];
+
export const StarPointedIcon: IconSvgElement = [
[
"path",