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
7a9cf4ce
authored
Apr 15, 2025
by
Archer
Committed by
GitHub
Apr 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add system model (#4540)
parent
b943d05d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
195 additions
and
26 deletions
+195
-26
deploy/docker/docker-compose-milvus.yml
+4
-4
deploy/docker/docker-compose-pgvector.yml
+4
-4
deploy/docker/docker-compose-zilliz.yml
+4
-4
docSite/content/zh-cn/docs/development/upgrading/495.md
+11
-1
packages/service/core/ai/config/provider/Gemini.json
+24
-0
packages/service/core/ai/config/provider/Grok.json
+73
-1
packages/service/core/ai/config/provider/OpenAI.json
+75
-12
No files found.
deploy/docker/docker-compose-milvus.yml
View file @
7a9cf4ce
...
@@ -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.
4
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
5
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.
4
# git
image
:
ghcr.io/labring/fastgpt:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
5
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
deploy/docker/docker-compose-pgvector.yml
View file @
7a9cf4ce
...
@@ -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.
4
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
5
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.
4
# git
image
:
ghcr.io/labring/fastgpt:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
5
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
deploy/docker/docker-compose-zilliz.yml
View file @
7a9cf4ce
...
@@ -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.
4
# git
image
:
ghcr.io/labring/fastgpt-sandbox:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-sandbox:v4.9.
5
# 阿里云
networks
:
networks
:
-
fastgpt
-
fastgpt
restart
:
always
restart
:
always
fastgpt
:
fastgpt
:
container_name
:
fastgpt
container_name
:
fastgpt
image
:
ghcr.io/labring/fastgpt:v4.9.
4
# git
image
:
ghcr.io/labring/fastgpt:v4.9.
5
# git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
4
# 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:v4.9.
5
# 阿里云
ports
:
ports
:
-
3000:3000
-
3000:3000
networks
:
networks
:
...
...
docSite/content/zh-cn/docs/development/upgrading/495.md
View file @
7a9cf4ce
---
---
title
:
'
V4.9.5
(进行中)
'
title
:
'
V4.9.5'
description
:
'
FastGPT
V4.9.5
更新说明'
description
:
'
FastGPT
V4.9.5
更新说明'
icon
:
'
upgrade'
icon
:
'
upgrade'
draft
:
false
draft
:
false
...
@@ -7,6 +7,15 @@ toc: true
...
@@ -7,6 +7,15 @@ toc: true
weight
:
795
weight
:
795
---
---
## 升级指南
### 1. 做好数据备份
### 2. 更新镜像 tag
-
更新 FastGPT 镜像 tag: v4.9.5
-
更新 FastGPT 商业版镜像 tag: v4.9.5
-
Sandbox 无需更新
-
AIProxy 无需更新
## 🚀 新增内容
## 🚀 新增内容
...
@@ -18,6 +27,7 @@ weight: 795
...
@@ -18,6 +27,7 @@ weight: 795
## ⚙️ 优化
## ⚙️ 优化
1.
繁体中文翻译。
1.
繁体中文翻译。
2.
Arm 镜像打包
## 🐛 修复
## 🐛 修复
...
...
packages/service/core/ai/config/provider/Gemini.json
View file @
7a9cf4ce
...
@@ -2,6 +2,30 @@
...
@@ -2,6 +2,30 @@
"provider"
:
"Gemini"
,
"provider"
:
"Gemini"
,
"list"
:
[
"list"
:
[
{
{
"model"
:
"gemini-2.5-pro-exp-03-25"
,
"name"
:
"gemini-2.5-pro-exp-03-25"
,
"maxContext"
:
1000000
,
"maxResponse"
:
63000
,
"quoteMaxToken"
:
1000000
,
"maxTemperature"
:
1
,
"vision"
:
true
,
"toolChoice"
:
true
,
"functionCall"
:
false
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"usedInQueryExtension"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
,
"showTopP"
:
true
,
"showStopSign"
:
true
},
{
"model"
:
"gemini-2.0-flash"
,
"model"
:
"gemini-2.0-flash"
,
"name"
:
"gemini-2.0-flash"
,
"name"
:
"gemini-2.0-flash"
,
"maxContext"
:
1000000
,
"maxContext"
:
1000000
,
...
...
packages/service/core/ai/config/provider/Grok.json
View file @
7a9cf4ce
...
@@ -2,6 +2,54 @@
...
@@ -2,6 +2,54 @@
"provider"
:
"Grok"
,
"provider"
:
"Grok"
,
"list"
:
[
"list"
:
[
{
{
"model"
:
"grok-3-mini"
,
"name"
:
"grok-3-mini"
,
"maxContext"
:
128000
,
"maxResponse"
:
8000
,
"quoteMaxToken"
:
128000
,
"maxTemperature"
:
1
,
"showTopP"
:
true
,
"showStopSign"
:
true
,
"vision"
:
false
,
"toolChoice"
:
true
,
"functionCall"
:
false
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"usedInQueryExtension"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"grok-3-mini-fast"
,
"name"
:
"grok-3-mini-fast"
,
"maxContext"
:
128000
,
"maxResponse"
:
8000
,
"quoteMaxToken"
:
128000
,
"maxTemperature"
:
1
,
"showTopP"
:
true
,
"showStopSign"
:
true
,
"vision"
:
false
,
"toolChoice"
:
true
,
"functionCall"
:
false
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"usedInQueryExtension"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"grok-3"
,
"model"
:
"grok-3"
,
"name"
:
"grok-3"
,
"name"
:
"grok-3"
,
"maxContext"
:
128000
,
"maxContext"
:
128000
,
...
@@ -11,7 +59,31 @@
...
@@ -11,7 +59,31 @@
"showTopP"
:
true
,
"showTopP"
:
true
,
"showStopSign"
:
true
,
"showStopSign"
:
true
,
"vision"
:
false
,
"vision"
:
false
,
"toolChoice"
:
false
,
"toolChoice"
:
true
,
"functionCall"
:
false
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"usedInQueryExtension"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"grok-3-fast"
,
"name"
:
"grok-3-fast"
,
"maxContext"
:
128000
,
"maxResponse"
:
8000
,
"quoteMaxToken"
:
128000
,
"maxTemperature"
:
1
,
"showTopP"
:
true
,
"showStopSign"
:
true
,
"vision"
:
false
,
"toolChoice"
:
true
,
"functionCall"
:
false
,
"functionCall"
:
false
,
"defaultSystemChatPrompt"
:
""
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"datasetProcess"
:
true
,
...
...
packages/service/core/ai/config/provider/OpenAI.json
View file @
7a9cf4ce
...
@@ -2,6 +2,78 @@
...
@@ -2,6 +2,78 @@
"provider"
:
"OpenAI"
,
"provider"
:
"OpenAI"
,
"list"
:
[
"list"
:
[
{
{
"model"
:
"gpt-4.1"
,
"name"
:
"gpt-4.1"
,
"maxContext"
:
1000000
,
"maxResponse"
:
32000
,
"quoteMaxToken"
:
1000000
,
"maxTemperature"
:
1.2
,
"showTopP"
:
true
,
"responseFormatList"
:
[
"text"
,
"json_object"
,
"json_schema"
],
"showStopSign"
:
true
,
"vision"
:
true
,
"toolChoice"
:
true
,
"functionCall"
:
true
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"gpt-4.1-mini"
,
"name"
:
"gpt-4.1-mini"
,
"maxContext"
:
1000000
,
"maxResponse"
:
32000
,
"quoteMaxToken"
:
1000000
,
"maxTemperature"
:
1.2
,
"showTopP"
:
true
,
"responseFormatList"
:
[
"text"
,
"json_object"
,
"json_schema"
],
"showStopSign"
:
true
,
"vision"
:
true
,
"toolChoice"
:
true
,
"functionCall"
:
true
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"gpt-4.1-nano"
,
"name"
:
"gpt-4.1-nano"
,
"maxContext"
:
1000000
,
"maxResponse"
:
32000
,
"quoteMaxToken"
:
1000000
,
"maxTemperature"
:
1.2
,
"showTopP"
:
true
,
"responseFormatList"
:
[
"text"
,
"json_object"
,
"json_schema"
],
"showStopSign"
:
true
,
"vision"
:
true
,
"toolChoice"
:
true
,
"functionCall"
:
true
,
"defaultSystemChatPrompt"
:
""
,
"datasetProcess"
:
true
,
"usedInClassify"
:
true
,
"customCQPrompt"
:
""
,
"usedInExtractFields"
:
true
,
"customExtractPrompt"
:
""
,
"usedInToolCall"
:
true
,
"defaultConfig"
:
{},
"fieldMap"
:
{},
"type"
:
"llm"
},
{
"model"
:
"gpt-4o-mini"
,
"model"
:
"gpt-4o-mini"
,
"name"
:
"GPT-4o-mini"
,
"name"
:
"GPT-4o-mini"
,
"maxContext"
:
128000
,
"maxContext"
:
128000
,
...
@@ -9,11 +81,7 @@
...
@@ -9,11 +81,7 @@
"quoteMaxToken"
:
60000
,
"quoteMaxToken"
:
60000
,
"maxTemperature"
:
1.2
,
"maxTemperature"
:
1.2
,
"showTopP"
:
true
,
"showTopP"
:
true
,
"responseFormatList"
:
[
"responseFormatList"
:
[
"text"
,
"json_object"
,
"json_schema"
],
"text"
,
"json_object"
,
"json_schema"
],
"showStopSign"
:
true
,
"showStopSign"
:
true
,
"vision"
:
true
,
"vision"
:
true
,
"toolChoice"
:
true
,
"toolChoice"
:
true
,
...
@@ -37,11 +105,7 @@
...
@@ -37,11 +105,7 @@
"quoteMaxToken"
:
60000
,
"quoteMaxToken"
:
60000
,
"maxTemperature"
:
1.2
,
"maxTemperature"
:
1.2
,
"showTopP"
:
true
,
"showTopP"
:
true
,
"responseFormatList"
:
[
"responseFormatList"
:
[
"text"
,
"json_object"
,
"json_schema"
],
"text"
,
"json_object"
,
"json_schema"
],
"showStopSign"
:
true
,
"showStopSign"
:
true
,
"vision"
:
true
,
"vision"
:
true
,
"toolChoice"
:
true
,
"toolChoice"
:
true
,
...
@@ -275,4 +339,4 @@
...
@@ -275,4 +339,4 @@
"type"
:
"stt"
"type"
:
"stt"
}
}
]
]
}
}
\ No newline at end of file
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