diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 406199699..3a045936d 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -840,7 +840,7 @@ export function ChatActions(props: { /> )} - {showPlugins(currentProviderName, currentModel) && ( + {/* {showPlugins(currentProviderName, currentModel) && ( { if (pluginStore.getAll().length == 0) { @@ -852,7 +852,7 @@ export function ChatActions(props: { text={Locale.Plugin.Name} icon={} /> - )} + )} */} {showPluginSelector && ( { +export function uploadImage(file: Blob): Promise { if (!window._SW_ENABLED) { // if serviceWorker register error, using compressImage return compressImage(file, 256 * 1024); @@ -137,7 +137,7 @@ export function uploadImage(file: File): Promise { }) .then((res) => res.json()) .then((res) => { - console.log("res", res); + // console.log("res", res); if (res?.code == 0 && res?.data) { return res?.data; }