fix: some bugs (#6071)

* fix: publish channel doc link

* fix: checkbox disable hover style

* fix: huggingface.svg missing; update doc

* chore: update doc

* fix: typo
This commit is contained in:
Finley Ge 2025-12-10 13:24:24 +08:00 committed by archer
parent 13a3bfef14
commit 3c20d9475f
No known key found for this signature in database
GPG Key ID: 4446499B846D4A9E
15 changed files with 50 additions and 40 deletions

View File

@ -1,6 +1,6 @@
# FastGPT 文档
这是FastGPT的官方文档采用fumadoc框架。
这是FastGPT的官方文档采用 fumadoc 框架。
## 运行项目
要运行文档,首先需要进行环境变量配置,在文档的根目录下创建`.env.local`文件,填写以下环境变量:
@ -12,7 +12,7 @@ FASTGPT_HOME_DOMAIN = #要跳转的FastGPT项目的域名默认海外版
你可以在FastGPT项目根目录下执行以下命令来运行文档。
```bash
npm install #只能npm install不能pnpm
npm install # 只能 npm install不能 pnpm
npm run dev
```
项目会默认跑在`http:localhost:3000`端口

View File

@ -4,7 +4,7 @@ title: 报错
1. ### 当前分组上游负载已饱和,请稍后再试(request id:202407100753411462086782835521)
是oneapi渠道的问题可以换个模型用or换一家中转站
是oneapi渠道的问题可以换个模型用或者换一家中转站
1. ### 使用API时在日志中报错Connection Error

View File

@ -20,8 +20,8 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
1. 准备好您的域名。您的域名必须先经过备案,目前支持“阿里云”、“腾讯云”、“火山引擎”三家服务商的备案域名。
2. 点击“编辑”按钮,进入编辑状态。
3. 填入您的域名,例如 www.example.com
4. 在域名服务商的域名解析处,添加界面中提示的 DNS 纪录,注意纪录类型为 CNAME。
5. 添加解析纪录后,点击“保存”按钮。系统将自动检查 DNS 解析情况,一般情况下,在一分钟内就可以获取到解析纪录。如果长时间没有获取到纪录,可以重试一次。
4. 在域名服务商的域名解析处,添加界面中提示的 DNS 记录,注意记录类型为 CNAME。
5. 添加解析记录后,点击"保存"按钮。系统将自动检查 DNS 解析情况,一般情况下,在一分钟内就可以获取到解析记录。如果长时间没有获取到记录,可以重试一次。
6. 待状态提示显示为“已生效”后,点击“确认”按钮即可。
![配置自定义域名](/imgs/guide/team_permissions/customDomain/2.png)
@ -30,7 +30,7 @@ FastGPT 云服务版自 v4.14.4 后支持配置自定义域名。
## 域名解析失效
系统会每天对 DNS 解析进行检查,如果发现 DNS 解析纪录失效,则会停用该自定义域名,可以在“自定义域名”管理界面中点击“编辑”进行重新解析。
系统会每天对 DNS 解析进行检查,如果发现 DNS 解析记录失效,则会停用该自定义域名,可以在"自定义域名"管理界面中点击"编辑"进行重新解析。
![编辑](/imgs/guide/team_permissions/customDomain/3.png)

View File

@ -54,7 +54,11 @@ curl --location --request POST 'https://{{host}}/api/admin/initv4144' \
7. 模型测试时,如果模型未启动,会导致无法被测试。
8. MCP header 中带特殊内容时,会抛错。
9. 工作流引用其他 Agent 时,切换版本号后未及时更新 UI。
10. 发布渠道文档链接定位错误。
11. Checkbox 在禁用状态时hover 样式错误。
12. 模型头像缺失情况下,默认 huggingface.svg 图标显示错误。
## 插件
1. 新增 GLM4.6 与 DS3.2 系列模型预设。
2. 修复 MinerU SaaS 插件模型版本不能选择 vlm 的问题

View File

@ -27,7 +27,7 @@ import { Alert } from '@/components/docs/Alert';
背景知识中,引导模型调用工具去执行不通的操作。
<Alert icon="🤗" context="success">
**Tips:** 这里需要增加适当的上下文,方便模型结合历史录进行判断和决策~
**Tips:** 这里需要增加适当的上下文,方便模型结合历史录进行判断和决策~
</Alert>
## 3. HTTP 模块

View File

@ -34,7 +34,7 @@ description: FastGPT 接入企微机器人教程
### 2.4 获取关键密钥
随机生成或者手动输入 Token 和 Encoding-AESKey并且录下来
随机生成或者手动输入 Token 和 Encoding-AESKey并且录下来
![图片](/imgs/use-cases/external-integration/wecom/3.png)
@ -46,7 +46,7 @@ description: FastGPT 接入企微机器人教程
### 2.6 配置发布渠道信息
配置该发布渠道的信息,需要填入 Token 和 AESKey也就是第四步中录下来的 Token 和 Encoding-AESKey
配置该发布渠道的信息,需要填入 Token 和 AESKey也就是第四步中录下来的 Token 和 Encoding-AESKey
![图片](/imgs/use-cases/external-integration/wecom/5.png)
@ -69,4 +69,4 @@ description: FastGPT 接入企微机器人教程
1. 检查可信域名是否配置正确。
2. 检查 Token 和 Encoding-AESKey 是否正确。
3. 查看 FastGPT 对话日志,是否有对应的提问记录。
4. 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人.
4. 如果没记录,则可能是应用运行报错了,可以先试试最简单的机器人

View File

@ -34,7 +34,7 @@
"document/content/docs/introduction/development/openapi/chat.mdx": "2025-11-14T13:21:17+08:00",
"document/content/docs/introduction/development/openapi/dataset.mdx": "2025-09-29T11:34:11+08:00",
"document/content/docs/introduction/development/openapi/intro.mdx": "2025-09-29T11:34:11+08:00",
"document/content/docs/introduction/development/openapi/share.mdx": "2025-12-09T12:18:15+08:00",
"document/content/docs/introduction/development/openapi/share.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/introduction/development/proxy/cloudflare.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/http_proxy.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/development/proxy/nginx.mdx": "2025-07-23T21:35:03+08:00",
@ -89,7 +89,7 @@
"document/content/docs/introduction/guide/plugins/google_search_plugin_guide.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/plugins/searxng_plugin_guide.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/plugins/upload_system_tool.mdx": "2025-11-04T16:58:12+08:00",
"document/content/docs/introduction/guide/team_permissions/customDomain.mdx": "2025-12-09T18:14:22+08:00",
"document/content/docs/introduction/guide/team_permissions/customDomain.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/introduction/guide/team_permissions/invitation_link.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/guide/team_permissions/team_roles_permissions.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/introduction/index.en.mdx": "2025-07-23T21:35:03+08:00",
@ -102,7 +102,7 @@
"document/content/docs/protocol/terms.en.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/protocol/terms.mdx": "2025-08-03T22:37:45+08:00",
"document/content/docs/toc.en.mdx": "2025-08-04T13:42:36+08:00",
"document/content/docs/toc.mdx": "2025-12-09T18:14:22+08:00",
"document/content/docs/toc.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/upgrading/4-10/4100.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/upgrading/4-10/4101.mdx": "2025-09-08T20:07:20+08:00",
"document/content/docs/upgrading/4-11/4110.mdx": "2025-08-05T23:20:39+08:00",
@ -119,7 +119,7 @@
"document/content/docs/upgrading/4-14/4141.mdx": "2025-11-19T10:15:27+08:00",
"document/content/docs/upgrading/4-14/4142.mdx": "2025-11-18T19:27:14+08:00",
"document/content/docs/upgrading/4-14/4143.mdx": "2025-11-26T20:52:05+08:00",
"document/content/docs/upgrading/4-14/4144.mdx": "2025-12-08T21:45:21+08:00",
"document/content/docs/upgrading/4-14/4144.mdx": "2025-12-10T11:41:15+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",
@ -199,6 +199,6 @@
"document/content/docs/use-cases/external-integration/feishu.mdx": "2025-07-24T14:23:04+08:00",
"document/content/docs/use-cases/external-integration/official_account.mdx": "2025-08-05T23:20:39+08:00",
"document/content/docs/use-cases/external-integration/openapi.mdx": "2025-09-29T11:34:11+08:00",
"document/content/docs/use-cases/external-integration/wecom.mdx": "2025-12-09T20:03:29+08:00",
"document/content/docs/use-cases/external-integration/wecom.mdx": "2025-12-09T23:33:32+08:00",
"document/content/docs/use-cases/index.mdx": "2025-07-24T14:23:04+08:00"
}

View File

@ -556,11 +556,20 @@ const Checkbox = checkBoxMultiStyle({
bg: 'myGray.100',
borderColor: 'transparent',
color: 'myGray.400',
outline: 'none'
outline: 'none',
_hover: {
bg: 'myGray.100',
borderColor: 'transparent'
}
}
},
_hover: {
borderColor: 'primary.400'
},
_disabled: {
_hover: {
borderColor: 'inherit'
}
}
}
}),

View File

@ -0,0 +1,15 @@
<svg t="1710841272884" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2684"
width="128" height="128">
<path
d="M511.968 959.936c298.688 0 447.968-200.576 447.968-448 0-247.36-149.28-447.936-448-447.936C213.28 64 64 264.576 64 511.968c0 247.392 149.248 447.968 447.968 447.968z"
fill="#FFB02E" p-id="2685"></path>
<path
d="M103.936 586.912a31.936 31.936 0 0 0-7.584 25.568 32 32 0 0 0-37.152 51.84l9.344 8a32 32 0 0 0-24.992 56.256l63.52 52.928-4.032-1.984a35.712 35.712 0 0 0-36.672 60.896C107.712 869.76 163.008 908.64 192 928c48 32 102.72 42.944 160 0 32-24 72.48-97.984 29.92-171.712-8.064-13.952-15.296-28.64-18.304-44.48-13.152-69.76-32.8-141.216-75.616-119.808-23.2 11.584-21.184 31.584-18.304 60 1.088 10.784 2.304 22.784 2.304 36l-2.56 1.28-120.384-105.376a32 32 0 0 0-45.12 3.04zM920.096 586.912c6.368 7.296 8.832 16.64 7.584 25.568a32 32 0 0 1 37.12 51.84l-9.344 8a32 32 0 0 1 25.024 56.256l-63.52 52.928 4.032-1.984a35.712 35.712 0 0 1 36.672 60.896C916.32 869.76 861.024 908.64 832 928c-48 32-102.752 42.944-160 0-32-24-72.48-97.984-29.92-171.712 8.064-13.952 15.296-28.64 18.304-44.48 13.152-69.76 32.8-141.216 75.616-119.808 23.2 11.584 21.184 31.584 18.304 60-1.088 10.784-2.304 22.784-2.304 36l2.56 1.28 120.384-105.376a32 32 0 0 1 45.12 3.04z"
fill="#FF822D" p-id="2686"></path>
<path
d="M224 464c0 44.16-28.64 80-64 80s-64-35.84-64-80 28.64-80 64-80 64 35.84 64 80zM928 464c0 44.16-28.64 80-64 80s-64-35.84-64-80 28.64-80 64-80 64 35.84 64 80z"
fill="#FF6723" p-id="2687"></path>
<path
d="M299.168 333.184c-6.72 7.296-10.24 17.024-11.744 24.928a32 32 0 0 1-62.848-12.224c2.848-14.592 9.92-36.896 27.456-55.968C270.496 269.792 298.112 256 336 256c38.24 0 65.984 14.464 84.352 34.624 17.408 19.104 24.64 41.344 27.2 55.904a32 32 0 0 1-63.072 10.944 49.472 49.472 0 0 0-11.456-23.744C367.04 327.104 356.544 320 336 320c-20.896 0-31.104 6.944-36.832 13.184zM651.2 333.184c-6.72 7.296-10.24 17.024-11.776 24.928a32 32 0 0 1-62.816-12.224c2.816-14.592 9.92-36.896 27.424-55.968C622.496 269.792 650.112 256 688 256c38.272 0 65.984 14.464 84.352 34.624 17.408 19.104 24.64 41.344 27.2 55.904a32 32 0 0 1-63.072 10.944 49.44 49.44 0 0 0-11.456-23.744C719.04 327.104 708.544 320 688 320c-20.896 0-31.072 6.944-36.8 13.184zM313.6 492.8a32 32 0 1 0-51.2 38.4c22.464 29.952 96.256 92.8 249.6 92.8s227.136-62.848 249.6-92.8a32 32 0 0 0-51.2-38.4c-9.536 12.704-63.744 67.2-198.4 67.2s-188.864-54.496-198.4-67.2z"
fill="#402A32" p-id="2688"></path>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -90,10 +90,7 @@ const DingTalkEditModal = ({
<Box color="myGray.600">{t('publish:dingtalk.api')}</Box>
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/dingtalk/')
}
href={getDocPath('/docs/use-cases/external-integration/dingtalk/')}
target={'_blank'}
ml={2}
color={'primary.500'}

View File

@ -74,10 +74,7 @@ const DingTalk = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/dingtalk/')
}
href={getDocPath('/docs/use-cases/external-integration/dingtalk/')}
target={'_blank'}
color={'primary.500'}
fontSize={'sm'}

View File

@ -90,10 +90,7 @@ const FeiShuEditModal = ({
<Box color="myGray.600">{t('publish:feishu_api')}</Box>
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/feishu/')
}
href={getDocPath('/docs/use-cases/external-integration/feishu/')}
target={'_blank'}
ml={2}
color={'primary.500'}

View File

@ -73,10 +73,7 @@ const FeiShu = ({ appId }: { appId: string }) => {
</Box>
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/feishu/')
}
href={getDocPath('/docs/use-cases/external-integration/feishu')}
target={'_blank'}
color={'primary.500'}
fontSize={'sm'}

View File

@ -96,10 +96,7 @@ const OffiAccountEditModal = ({
<Box color="myGray.600">{t('publish:official_account.params')}</Box>
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/official_account/')
}
href={getDocPath('/docs/use-cases/external-integration/official_account/')}
target={'_blank'}
ml={2}
color={'primary.500'}

View File

@ -75,10 +75,7 @@ const OffiAccount = ({ appId }: { appId: string }) => {
{feConfigs?.docUrl && (
<Link
href={
feConfigs.openAPIDocUrl ||
getDocPath('/docs/use-cases/external-integration/official_account/')
}
href={getDocPath('/docs/use-cases/external-integration/official_account')}
target={'_blank'}
ml={2}
color={'primary.500'}