Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
nit
Julius Marminge215ff36362d5
diff --git a/apps/server/src/projectFaviconRoute.ts b/apps/server/src/projectFaviconRoute.tsindex 65d9b50c3..4f4315791 100644--- a/apps/server/src/projectFaviconRoute.ts+++ b/apps/server/src/projectFaviconRoute.ts@@ -1,7 +1,6 @@import fs from "node:fs";import http from "node:http";import path from "node:path";-export { IMAGE_EXTENSION_BY_MIME_TYPE, SAFE_IMAGE_FILE_EXTENSIONS } from "./imageMime.ts";export const ATTACHMENTS_ROUTE_PREFIX = "/attachments";diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsxindex d9f6a1ff8..f90c63b39 100644--- a/apps/web/src/components/ChatView.tsx+++ b/apps/web/src/components/ChatView.tsx@@ -1486,23 +1486,13 @@ export default function ChatView({ threadId }: ChatViewProps) {const messageIdForSend = newMessageId();const messageCreatedAt = new Date().toISOString();const turnAttachmentsPromise = Promise.all(- composerImagesSnapshot.map(- async (- image,- ): Promise<{- type: "image";- name: string;- mimeType: string;- sizeBytes: number;- dataUrl: string;- }> => ({- type: "image",- name: image.name,- mimeType: image.mimeType,- sizeBytes: image.sizeBytes,- dataUrl: await readFileAsDataUrl(image.file),- }),- ),+ composerImagesSnapshot.map(async (image) => ({+ type: "image" as const,+ name: image.name,+ mimeType: image.mimeType,+ sizeBytes: image.sizeBytes,+ dataUrl: await readFileAsDataUrl(image.file),+ })),);const optimisticAttachments = composerImagesSnapshot.map((image) => ({type: "image" as const,