Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
433e7ed9
authored
Apr 28, 2025
by
Archer
Committed by
GitHub
Apr 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc (#4697)
* perf: share link tip * udpate doc
parent
293c0cdb
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
40 additions
and
26 deletions
+40
-26
deploy/docker/docker-compose-milvus.yml
+6
-6
deploy/docker/docker-compose-oceanbase/docker-compose.yml
+6
-6
deploy/docker/docker-compose-pgvector.yml
+6
-6
deploy/docker/docker-compose-zilliz.yml
+6
-6
docSite/content/zh-cn/docs/development/upgrading/497.md
+1
-1
packages/web/i18n/en/chat.json
+1
-0
packages/web/i18n/zh-CN/chat.json
+1
-0
packages/web/i18n/zh-Hant/chat.json
+1
-0
projects/app/src/pages/chat/share.tsx
+12
-1
No files found.
deploy/docker/docker-compose-milvus.yml
View file @
433e7ed9
...
@@ -126,15 +126,15 @@ services:
...
@@ -126,15 +126,15 @@ services:
# fastgpt
# fastgpt
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7
-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -144,8 +144,8 @@ services:
...
@@ -144,8 +144,8 @@ services:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
deploy/docker/docker-compose-oceanbase/docker-compose.yml
View file @
433e7ed9
...
@@ -103,15 +103,15 @@ services:
...
@@ -103,15 +103,15 @@ services:
# fastgpt
# fastgpt
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7
-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -121,8 +121,8 @@ services:
...
@@ -121,8 +121,8 @@ services:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
deploy/docker/docker-compose-pgvector.yml
View file @
433e7ed9
...
@@ -85,15 +85,15 @@ services:
...
@@ -85,15 +85,15 @@ services:
# fastgpt
# fastgpt
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7
-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -103,8 +103,8 @@ services:
...
@@ -103,8 +103,8 @@ services:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt:v4.9.7
-fix-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
deploy/docker/docker-compose-zilliz.yml
View file @
433e7ed9
...
@@ -66,15 +66,15 @@ services:
...
@@ -66,15 +66,15 @@ services:
sandbox
:
sandbox
:
container_name
:
sandbox
container_name
:
sandbox
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.7
-fix
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt-mcp-server
:
fastgpt-mcp-server
:
container_name
:
fastgpt-mcp-server
container_name
:
fastgpt-mcp-server
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt-mcp_server:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3005:3000
-
3005:3000
networks
:
networks
:
...
@@ -84,8 +84,8 @@ services:
...
@@ -84,8 +84,8 @@ services:
-
FASTGPT_ENDPOINT=http://fastgpt:3000
-
FASTGPT_ENDPOINT=http://fastgpt:3000
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.7
# git
image
:
ghcr.io/labring/fastgpt:v4.9.7
-fix
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7 # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.7
-fix
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
docSite/content/zh-cn/docs/development/upgrading/497.md
View file @
433e7ed9
...
@@ -13,7 +13,7 @@ weight: 793
...
@@ -13,7 +13,7 @@ weight: 793
### 2. 更新镜像 tag
### 2. 更新镜像 tag
-
更新 FastGPT 镜像 tag: v4.9.7
-
更新 FastGPT 镜像 tag: v4.9.7
-fix
-
更新 FastGPT 商业版镜像 tag: v4.9.7
-
更新 FastGPT 商业版镜像 tag: v4.9.7
-
mcp_server 无需更新
-
mcp_server 无需更新
-
Sandbox 无需更新
-
Sandbox 无需更新
...
...
packages/web/i18n/en/chat.json
View file @
433e7ed9
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
"input_guide_tip"
:
"You can set up some preset questions. When the user inputs a question, related questions from these presets will be suggested."
,
"input_guide_tip"
:
"You can set up some preset questions. When the user inputs a question, related questions from these presets will be suggested."
,
"input_placeholder_phone"
:
"Please enter your question"
,
"input_placeholder_phone"
:
"Please enter your question"
,
"insert_input_guide,_some_data_already_exists"
:
"Duplicate data detected, automatically filtered, {{len}} items inserted"
,
"insert_input_guide,_some_data_already_exists"
:
"Duplicate data detected, automatically filtered, {{len}} items inserted"
,
"invalid_share_url"
:
"Invalid sharing link"
,
"is_chatting"
:
"Chatting in progress... please wait until it finishes"
,
"is_chatting"
:
"Chatting in progress... please wait until it finishes"
,
"items"
:
"Items"
,
"items"
:
"Items"
,
"llm_tokens"
:
"LLM tokens"
,
"llm_tokens"
:
"LLM tokens"
,
...
...
packages/web/i18n/zh-CN/chat.json
View file @
433e7ed9
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
"input_guide_tip"
:
"可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。"
,
"input_guide_tip"
:
"可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。"
,
"input_placeholder_phone"
:
"输入问题"
,
"input_placeholder_phone"
:
"输入问题"
,
"insert_input_guide,_some_data_already_exists"
:
"有重复数据,已自动过滤,共插入 {{len}} 条数据"
,
"insert_input_guide,_some_data_already_exists"
:
"有重复数据,已自动过滤,共插入 {{len}} 条数据"
,
"invalid_share_url"
:
"无效的分享链接"
,
"is_chatting"
:
"正在聊天中...请等待结束"
,
"is_chatting"
:
"正在聊天中...请等待结束"
,
"items"
:
"条"
,
"items"
:
"条"
,
"llm_tokens"
:
"LLM tokens"
,
"llm_tokens"
:
"LLM tokens"
,
...
...
packages/web/i18n/zh-Hant/chat.json
View file @
433e7ed9
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
"input_guide_tip"
:
"您可以設定一些預設問題。當使用者輸入問題時,系統會從這些預設問題中提供相關問題作為提示。"
,
"input_guide_tip"
:
"您可以設定一些預設問題。當使用者輸入問題時,系統會從這些預設問題中提供相關問題作為提示。"
,
"input_placeholder_phone"
:
"請輸入問題"
,
"input_placeholder_phone"
:
"請輸入問題"
,
"insert_input_guide,_some_data_already_exists"
:
"偵測到重複資料,已自動過濾,共插入 {{len}} 筆資料"
,
"insert_input_guide,_some_data_already_exists"
:
"偵測到重複資料,已自動過濾,共插入 {{len}} 筆資料"
,
"invalid_share_url"
:
"無效的分享鏈接"
,
"is_chatting"
:
"對話進行中...請稍候"
,
"is_chatting"
:
"對話進行中...請稍候"
,
"items"
:
"筆"
,
"items"
:
"筆"
,
"llm_tokens"
:
"LLM tokens"
,
"llm_tokens"
:
"LLM tokens"
,
...
...
projects/app/src/pages/chat/share.tsx
View file @
433e7ed9
...
@@ -38,6 +38,7 @@ import { ChatSourceEnum } from '@fastgpt/global/core/chat/constants';
...
@@ -38,6 +38,7 @@ import { ChatSourceEnum } from '@fastgpt/global/core/chat/constants';
import
{
useI18nLng
}
from
'@fastgpt/web/hooks/useI18n'
;
import
{
useI18nLng
}
from
'@fastgpt/web/hooks/useI18n'
;
import
{
AppSchema
}
from
'@fastgpt/global/core/app/type'
;
import
{
AppSchema
}
from
'@fastgpt/global/core/app/type'
;
import
ChatQuoteList
from
'@/pageComponents/chat/ChatQuoteList'
;
import
ChatQuoteList
from
'@/pageComponents/chat/ChatQuoteList'
;
import
{
useToast
}
from
'@fastgpt/web/hooks/useToast'
;
const
CustomPluginRunBox
=
dynamic
(()
=>
import
(
'@/pageComponents/chat/CustomPluginRunBox'
));
const
CustomPluginRunBox
=
dynamic
(()
=>
import
(
'@/pageComponents/chat/CustomPluginRunBox'
));
...
@@ -314,6 +315,8 @@ const OutLink = (props: Props) => {
...
@@ -314,6 +315,8 @@ const OutLink = (props: Props) => {
};
};
const
Render
=
(
props
:
Props
)
=>
{
const
Render
=
(
props
:
Props
)
=>
{
const
{
t
}
=
useTranslation
();
const
{
toast
}
=
useToast
();
const
{
shareId
,
authToken
,
customUid
,
appId
}
=
props
;
const
{
shareId
,
authToken
,
customUid
,
appId
}
=
props
;
const
{
localUId
,
setLocalUId
,
loaded
}
=
useShareChatStore
();
const
{
localUId
,
setLocalUId
,
loaded
}
=
useShareChatStore
();
const
{
source
,
chatId
,
setSource
,
setAppId
,
setOutLinkAuthData
}
=
useChatStore
();
const
{
source
,
chatId
,
setSource
,
setAppId
,
setOutLinkAuthData
}
=
useChatStore
();
...
@@ -363,6 +366,14 @@ const Render = (props: Props) => {
...
@@ -363,6 +366,14 @@ const Render = (props: Props) => {
useEffect
(()
=>
{
useEffect
(()
=>
{
setAppId
(
appId
);
setAppId
(
appId
);
},
[
appId
,
setAppId
]);
},
[
appId
,
setAppId
]);
useMount
(()
=>
{
if
(
!
appId
)
{
toast
({
status
:
'warning'
,
title
:
t
(
'chat:invalid_share_url'
)
});
}
});
return
source
===
ChatSourceEnum
.
share
?
(
return
source
===
ChatSourceEnum
.
share
?
(
<
ChatContextProvider
params=
{
chatHistoryProviderParams
}
>
<
ChatContextProvider
params=
{
chatHistoryProviderParams
}
>
...
@@ -409,7 +420,7 @@ export async function getServerSideProps(context: any) {
...
@@ -409,7 +420,7 @@ export async function getServerSideProps(context: any) {
return
{
return
{
props
:
{
props
:
{
appId
:
String
(
app
?.
appId
)
??
''
,
appId
:
app
?.
appId
?
String
(
app
?.
appId
)
:
''
,
appName
:
app
?.
associatedApp
?.
name
??
'AI'
,
appName
:
app
?.
associatedApp
?.
name
??
'AI'
,
appAvatar
:
app
?.
associatedApp
?.
avatar
??
''
,
appAvatar
:
app
?.
associatedApp
?.
avatar
??
''
,
appIntro
:
app
?.
associatedApp
?.
intro
??
'AI'
,
appIntro
:
app
?.
associatedApp
?.
intro
??
'AI'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment