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.

Import the OpenDocument MIME constants from where they are exported (#9520)

Daniel Han38e4e11a1c02
diff --git a/studio/frontend/src/features/chat/attachment-content.ts b/studio/frontend/src/features/chat/attachment-content.ts
index d2096a6deb0..f560c0e9e2e 100644
--- a/studio/frontend/src/features/chat/attachment-content.ts
+++ b/studio/frontend/src/features/chat/attachment-content.ts
@@ -4,10 +4,12 @@
import { type Unzipped, strFromU8, unzipSync, zipSync } from "fflate";
import {
- MAX_OPEN_DOCUMENT_ARCHIVE_BYTES,
- MAX_OPEN_DOCUMENT_XML_BYTES,
OPEN_DOCUMENT_SPREADSHEET_MIME,
OPEN_DOCUMENT_TEXT_MIME,
+} from "./open-document-accept";
+import {
+ MAX_OPEN_DOCUMENT_ARCHIVE_BYTES,
+ MAX_OPEN_DOCUMENT_XML_BYTES,
readOpenDocumentAttachmentContent,
} from "./open-document";