From c38acde0e74e97ed54351562653ac76633ee0ff2 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 07:12:01 +0000 Subject: [PATCH 1/3] feat: Updated projects/fastgpt/src/pages/component --- .../fastgpt/src/pages/components/Choice.tsx | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/projects/fastgpt/src/pages/components/Choice.tsx b/projects/fastgpt/src/pages/components/Choice.tsx index e7223ac..ef746d8 100644 --- a/projects/fastgpt/src/pages/components/Choice.tsx +++ b/projects/fastgpt/src/pages/components/Choice.tsx @@ -2,6 +2,9 @@ import { Box, Image, Flex, Grid, useTheme } from '@chakra-ui/react'; import React from 'react'; import { useTranslation } from 'next-i18next'; import MyTooltip from '@/components/MyTooltip'; +import React from 'react'; +import { useTranslation } from 'next-i18next'; +import MyTooltip from '@/components/MyTooltip'; const Choice = () => { const theme = useTheme(); @@ -13,31 +16,50 @@ const Choice = () => { title: t('home.Choice Open'), desc: t('home.Choice Open Desc'), tooltip: '前往 GitHub', - onClick: () => window.open('https://github.com/labring/FastGPT', '_blank') + onClick: () => window.open('https://github.com/labring/FastGPT', '_blank'), + title: t('home.Choice Open'), + desc: t('home.Choice Open Desc'), + tooltip: '前往 GitHub', + onClick: () => window.open('https://github.com/labring/FastGPT', '_blank'), }, { icon: '/imgs/home/icon_2.svg', title: t('home.Choice QA'), + desc: t('home.Choice QA Desc'), + tooltip: 'Some tooltip text', + title: t('home.Choice QA'), desc: t('home.Choice QA Desc') }, { icon: '/imgs/home/icon_3.svg', title: t('home.Choice Visual'), + desc: t('home.Choice Visual Desc'), + tooltip: 'Some tooltip text', + title: t('home.Choice Visual'), desc: t('home.Choice Visual Desc') }, { icon: '/imgs/home/icon_4.svg', title: t('home.Choice Extension'), + desc: t('home.Choice Extension Desc'), + tooltip: 'Some tooltip text', + title: t('home.Choice Extension'), desc: t('home.Choice Extension Desc') }, { icon: '/imgs/home/icon_5.svg', title: t('home.Choice Debug'), + desc: t('home.Choice Debug Desc'), + tooltip: 'Some tooltip text', + title: t('home.Choice Debug'), desc: t('home.Choice Debug Desc') }, { icon: '/imgs/home/icon_6.svg', title: t('home.Choice Models'), + desc: t('home.Choice Models Desc'), + tooltip: 'Some tooltip text', + title: t('home.Choice Models'), desc: t('home.Choice Models Desc') } ]; From 9ec8cf864d9c4c887cd2f00c135fe48536f08003 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 07:12:49 +0000 Subject: [PATCH 2/3] feat: Updated projects/fastgpt/public/locales/en/c --- projects/fastgpt/public/locales/en/common.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/fastgpt/public/locales/en/common.json b/projects/fastgpt/public/locales/en/common.json index 5d0171e..cc4bb1e 100644 --- a/projects/fastgpt/public/locales/en/common.json +++ b/projects/fastgpt/public/locales/en/common.json @@ -751,7 +751,7 @@ }, "home": { "AI Assistant": "AI Assistant", - "AI Assistant Desc": "Both internally and externally, AI will be available to your users 24 hours a day", + "AI Assistant Description": "Both internally and externally, AI will be available to your users 24 hours a day", "Advanced Settings": "Flow Settings", "Advanced Settings Desc": "Flow based process orchestration mode, let your AI easily achieve database query, IO operation, networking communication and other expansion capabilities", "Choice Debug": "Convenient Debugging", @@ -789,7 +789,7 @@ "OpenAPI": "OpenAPI", "OpenAPI Desc": "External interface consistent with GPT API to help you easily access existing applications", "Quickly build AI question and answer library": "Quickly build AI question and answer library", - "Service status": "Service status", + "Service Status": "Service status", "Start Now": "Start Now", "Visual AI orchestration": "Visual AI orchestration", "Why FastGPT": "Why FastGPT", @@ -859,7 +859,7 @@ }, "plugin": { "Confirm Delete": "Confirm to delete the plugin?", - "Create Your Plugin": "Create Plugin", + "Create Plugin": "Create Plugin", "Get Plugin Module Detail Failed": "Get plugin detail failed", "Intro": "Plugin Intro", "Load Plugin Failed": "Load Plugin Failed", From fea17eb739b7513d1bfb68203ac6ea8632fb7678 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sun, 21 Jan 2024 07:13:25 +0000 Subject: [PATCH 3/3] feat: Updated projects/xiaoyi/Dockerfile --- projects/xiaoyi/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/xiaoyi/Dockerfile b/projects/xiaoyi/Dockerfile index 547f4ac..2c47254 100644 --- a/projects/xiaoyi/Dockerfile +++ b/projects/xiaoyi/Dockerfile @@ -1,6 +1,6 @@ # Install dependencies only when needed -FROM node:18.15-alpine AS deps -# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. +FROM node:18.15-alpine AS deps \\ && npm install -g pnpm +# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat ttf-dejavu might be needed. RUN apk add libc6-compat && npm install -g pnpm WORKDIR /app @@ -52,4 +52,4 @@ USER nextjs ENV serverPath=./server.js -ENTRYPOINT ["sh","-c","node ${serverPath}"] \ No newline at end of file +ENTRYPOINT ["sh",-c,"node ${serverPath}"] \ No newline at end of file