mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 23:22:22 +00:00
deploy doc (#5473)
This commit is contained in:
@@ -151,8 +151,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.1-fix # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.1-fix # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -209,15 +209,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.1 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.1 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -226,8 +226,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.10 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.10 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -126,8 +126,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.1-fix # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.1-fix # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -183,15 +183,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.1 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.1 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -200,8 +200,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.10 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.10 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -112,8 +112,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.1-fix # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.1-fix # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -169,15 +169,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.1 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.1 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -186,8 +186,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.10 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.10 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -92,8 +92,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.1-fix # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.1-fix # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -151,15 +151,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.1 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.1 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -168,8 +168,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.10 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.10 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -95,8 +95,8 @@ services:
|
||||
|
||||
fastgpt:
|
||||
container_name: fastgpt
|
||||
image: ghcr.io/labring/fastgpt:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt:v4.12.1-fix # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.12.1-fix # 阿里云
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
@@ -152,15 +152,15 @@ services:
|
||||
- ./config.json:/app/data/config.json
|
||||
sandbox:
|
||||
container_name: sandbox
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-sandbox:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.12.1 # 阿里云
|
||||
networks:
|
||||
- fastgpt
|
||||
restart: always
|
||||
fastgpt-mcp-server:
|
||||
container_name: fastgpt-mcp-server
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.0 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.0 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-mcp_server:v4.12.1 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-mcp_server:v4.12.1 # 阿里云
|
||||
ports:
|
||||
- 3005:3000
|
||||
networks:
|
||||
@@ -169,8 +169,8 @@ services:
|
||||
environment:
|
||||
- FASTGPT_ENDPOINT=http://fastgpt:3000
|
||||
fastgpt-plugin:
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.9 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.9 # 阿里云
|
||||
image: ghcr.io/labring/fastgpt-plugin:v0.1.10 # git
|
||||
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin:v0.1.10 # 阿里云
|
||||
container_name: fastgpt-plugin
|
||||
restart: always
|
||||
networks:
|
||||
|
@@ -7,7 +7,7 @@ description: 'FastGPT V4.12.1 更新说明'
|
||||
|
||||
### 1. 更新镜像:
|
||||
|
||||
- 更新 FastGPT 镜像tag: v4.12.1
|
||||
- 更新 FastGPT 镜像tag: v4.12.1-fix
|
||||
- 更新 FastGPT 商业版镜像tag: v4.12.1
|
||||
- 更新 fastgpt-plugin 镜像 tag: v0.1.10
|
||||
- mcp_server 无需更新
|
||||
|
@@ -103,7 +103,7 @@
|
||||
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
|
||||
"document/content/docs/upgrading/4-11/4111.mdx": "2025-08-07T22:49:09+08:00",
|
||||
"document/content/docs/upgrading/4-12/4120.mdx": "2025-08-12T22:45:19+08:00",
|
||||
"document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T17:56:49+08:00",
|
||||
"document/content/docs/upgrading/4-12/4121.mdx": "2025-08-15T18:43:41+08:00",
|
||||
"document/content/docs/upgrading/4-8/40.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/41.mdx": "2025-08-02T19:38:37+08:00",
|
||||
"document/content/docs/upgrading/4-8/42.mdx": "2025-08-02T19:38:37+08:00",
|
||||
|
@@ -256,7 +256,7 @@ const ChatInput = ({
|
||||
gap={[0, 1]}
|
||||
>
|
||||
{/* 左侧自定义按钮组 */}
|
||||
<Flex alignItems={'center'} gap={2}>
|
||||
<Flex alignItems={'center'} gap={2} flex={'1 0 0'} w={0}>
|
||||
{InputLeftComponent}
|
||||
</Flex>
|
||||
|
||||
|
@@ -101,14 +101,6 @@ const HomeChatWindow = ({ myApps }: Props) => {
|
||||
const [selectedModel, setSelectedModel] = useLocalStorageState('chat_home_model', {
|
||||
defaultValue: defaultModels.llm?.model
|
||||
});
|
||||
const selectedModelAvatar = useMemo(() => {
|
||||
const modelData = getModelFromList(llmModelList, selectedModel || '');
|
||||
return modelData?.avatar || HUGGING_FACE_ICON;
|
||||
}, [selectedModel, llmModelList]);
|
||||
const selectedModelButtonLabel = useMemo(() => {
|
||||
const modelData = availableModels.find((model) => model.value === selectedModel);
|
||||
return modelData?.label || selectedModel;
|
||||
}, [selectedModel, availableModels]);
|
||||
|
||||
const availableTools = useMemo(
|
||||
() => chatSettings?.selectedTools || [],
|
||||
@@ -254,6 +246,7 @@ const HomeChatWindow = ({ myApps }: Props) => {
|
||||
<>
|
||||
{/* 模型选择 */}
|
||||
{availableModels.length > 0 && (
|
||||
<Box flex={['1', '0']} w={[0, 'auto']}>
|
||||
<AIModelSelector
|
||||
h={['30px', '36px']}
|
||||
boxShadow={'none'}
|
||||
@@ -262,13 +255,6 @@ const HomeChatWindow = ({ myApps }: Props) => {
|
||||
rounded="full"
|
||||
list={availableModels}
|
||||
value={selectedModel}
|
||||
maxW={['114px', 'fit-content']}
|
||||
valueLabel={
|
||||
<Flex className="textEllipsis" maxW={['74px', '100%']} alignItems={'center'} gap={1}>
|
||||
{isPc && <Avatar src={selectedModelAvatar} w={4} h={4} />}
|
||||
<Box>{selectedModelButtonLabel}</Box>
|
||||
</Flex>
|
||||
}
|
||||
onChange={async (model) => {
|
||||
setChatBoxData((state) => ({
|
||||
...state,
|
||||
@@ -286,6 +272,7 @@ const HomeChatWindow = ({ myApps }: Props) => {
|
||||
setSelectedModel(model);
|
||||
}}
|
||||
/>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
{/* 工具选择下拉框 */}
|
||||
@@ -361,9 +348,7 @@ const HomeChatWindow = ({ myApps }: Props) => {
|
||||
selectedToolIds,
|
||||
setSelectedToolIds,
|
||||
setChatBoxData,
|
||||
isPc,
|
||||
selectedModelAvatar,
|
||||
selectedModelButtonLabel
|
||||
isPc
|
||||
]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user