From 1579d1003a2920716f5b950e737fe47d6529a8d6 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Tue, 16 Apr 2024 13:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/chat.tsx | 5 +- app/components/exporter.module.scss | 2 +- app/components/gpt-prompts.module.scss | 8 ++ app/components/gpt-prompts.tsx | 162 +++++++++++++++++++++++++ 4 files changed, 174 insertions(+), 3 deletions(-) create mode 100644 app/components/gpt-prompts.module.scss create mode 100644 app/components/gpt-prompts.tsx diff --git a/app/components/chat.tsx b/app/components/chat.tsx index cfe0cb1a7..46caadf6b 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -102,8 +102,8 @@ import Image from "next/image"; import { useAllModels } from "../utils/hooks"; import { MultimodalContent } from "../client/api"; import { getTokenLength } from "@/lib/utils"; -import VoiceInput from "@/app/components/voice-input"; - +import VoiceInput from "./voice-input"; +import GptPrompts from "./gpt-prompts"; // const VoiceInput = dynamic( // () => import('@/app/components/voice-input'), { ssr: false }); @@ -1636,6 +1636,7 @@ function _Chat() {
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ ); +}