From 675c11db34362e93ade6f868bba3b7068be242cf Mon Sep 17 00:00:00 2001 From: Jazee6 Date: Sun, 23 Jun 2024 10:51:30 +0800 Subject: [PATCH] feat: Gemini 1.5 Pro --- Dockerfile | 6 +++--- components/ChatList.vue | 3 ++- nuxt.config.ts | 13 ------------- package.json | 2 +- server/api/auth/gemini.post.ts | 25 ++++++++++++++++++++++--- utils/db.ts | 6 ++++++ 6 files changed, 34 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index f4dfa9d..3d6f891 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ WORKDIR /app EXPOSE 3000 -RUN npm i -g pnpm@9.1.4 +RUN npm i -g pnpm -COPY package.json ./ +ADD package.json pnpm-lock.yaml ./ -COPY patches ./patches +ADD patches ./patches RUN pnpm install diff --git a/components/ChatList.vue b/components/ChatList.vue index 25071b0..df67030 100644 --- a/components/ChatList.vue +++ b/components/ChatList.vue @@ -39,7 +39,8 @@ const md: MarkdownIt = markdownit({