feat: 1)upload image with type 'heic' 2)change the empty message to ';' for models 3)

This commit is contained in:
Dean-YZG
2024-05-13 16:24:15 +08:00
parent 3513c6801e
commit c10447df79
7 changed files with 76 additions and 56 deletions

View File

@@ -59,9 +59,10 @@ import {
getMessageTextContent,
getMessageImages,
isVisionModel,
compressImage,
} from "../utils";
import { compressImage } from "@/app/utils/chat";
import dynamic from "next/dynamic";
import { ChatControllerPool } from "../client/controller";