From 415b7a02d8c2fd0655a37802ecbaed41f1b30718 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 8 Nov 2023 20:23:28 +0800 Subject: [PATCH] show img button where model is vision --- src/chatbox.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/chatbox.tsx b/src/chatbox.tsx index c0f95a8..bf33469 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -617,15 +617,17 @@ export default function ChatBOX(props: { )}
- + {chatStore.model.match("vision") && ( + + )} {showAddImage && (