Adam 3 месяцев назад
Родитель
Сommit
a9700c8773
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/opencode/src/file/index.ts

+ 1 - 1
packages/opencode/src/file/index.ts

@@ -73,6 +73,7 @@ export namespace File {
 
   async function shouldEncode(file: BunFile): Promise<boolean> {
     const type = file.type?.toLowerCase()
+    log.info("shouldEncode", { type })
     if (!type) return false
 
     if (type.startsWith("text/")) return false
@@ -92,7 +93,6 @@ export namespace File {
       "bzip",
       "compressed",
       "binary",
-      "stream",
       "pdf",
       "msword",
       "powerpoint",