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
8b0d09e2
authored
Jul 04, 2025
by
Archer
Committed by
GitHub
Jul 04, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: search type (#5149)
* fix: search type * update preview
parent
6c00e205
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
12 deletions
+15
-12
.github/workflows/fastgpt-preview-image.yml
+8
-8
packages/web/core/workflow/constants.ts
+4
-4
packages/web/i18n/en/app.json
+1
-0
packages/web/i18n/zh-CN/app.json
+1
-0
packages/web/i18n/zh-Hant/app.json
+1
-0
No files found.
.github/workflows/fastgpt-preview-image.yml
View file @
8b0d09e2
...
...
@@ -41,12 +41,12 @@ jobs:
${{ runner.os }}-buildx-${{ github.sha }}-
${{ runner.os }}-buildx-
-
name
:
Login to
GitHub
Container Registry
uses
:
docker/login-action@v
2
-
name
:
Login to
Aliyun
Container Registry
uses
:
docker/login-action@v
3
with
:
registry
:
ghcr.io
username
:
${{
github.repository_owner
}}
password
:
${{ secrets.
GITHUB_TOKEN
}}
registry
:
registry.cn-hangzhou.aliyuncs.com
username
:
${{
secrets.ALI_HUB_USERNAME
}}
password
:
${{ secrets.
ALI_HUB_PASSWORD
}}
-
name
:
Set image config
id
:
config
...
...
@@ -54,15 +54,15 @@ jobs:
if [[ "${{ matrix.image }}" == "fastgpt" ]]; then
echo "DOCKERFILE=projects/app/Dockerfile" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-pr image" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
ghcr.io/${{ github.repository_owner
}}/fastgpt-pr:fatsgpt_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
${{ secrets.ALI_IMAGE_NAME
}}/fastgpt-pr:fatsgpt_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
elif [[ "${{ matrix.image }}" == "sandbox" ]]; then
echo "DOCKERFILE=projects/sandbox/Dockerfile" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-sandbox-pr image" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
ghcr.io/${{ github.repository_owner
}}/fastgpt-pr:fatsgpt_sandbox_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
${{ secrets.ALI_IMAGE_NAME
}}/fastgpt-pr:fatsgpt_sandbox_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
elif [[ "${{ matrix.image }}" == "mcp_server" ]]; then
echo "DOCKERFILE=projects/mcp_server/Dockerfile" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-mcp_server-pr image" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
ghcr.io/${{ github.repository_owner
}}/fastgpt-pr:fatsgpt_mcp_server_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=
${{ secrets.ALI_IMAGE_NAME
}}/fastgpt-pr:fatsgpt_mcp_server_${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
fi
-
name
:
Build ${{ matrix.image }} image for PR
...
...
packages/web/core/workflow/constants.ts
View file @
8b0d09e2
...
...
@@ -10,6 +10,10 @@ export const systemPluginTemplateList: TGroupType[] = [
typeName
:
i18nT
(
'app:tool_type_tools'
)
},
{
typeId
:
FlowNodeTemplateTypeEnum
.
search
,
typeName
:
i18nT
(
'app:tool_type_search'
)
},
{
typeId
:
FlowNodeTemplateTypeEnum
.
multimodal
,
typeName
:
i18nT
(
'app:tool_type_multimodal'
)
},
...
...
@@ -64,10 +68,6 @@ export const workflowNodeTemplateList: {
label
:
i18nT
(
'common:core.module.template.AI function'
)
},
{
type
:
FlowNodeTemplateTypeEnum
.
search
,
label
:
i18nT
(
'common:core.workflow.template.Search'
)
},
{
type
:
FlowNodeTemplateTypeEnum
.
interactive
,
label
:
i18nT
(
'common:core.workflow.template.Interactive'
)
},
...
...
packages/web/i18n/en/app.json
View file @
8b0d09e2
...
...
@@ -189,6 +189,7 @@
"tool_type_news"
:
"news"
,
"tool_type_productivity"
:
"productive forces"
,
"tool_type_scientific"
:
"research"
,
"tool_type_search"
:
"Search"
,
"tool_type_social"
:
"Social"
,
"tool_type_tools"
:
"tool"
,
"tools_no_description"
:
"This tool has not been introduced ~"
,
...
...
packages/web/i18n/zh-CN/app.json
View file @
8b0d09e2
...
...
@@ -189,6 +189,7 @@
"tool_type_news"
:
"新闻"
,
"tool_type_productivity"
:
"生产力"
,
"tool_type_scientific"
:
"科研"
,
"tool_type_search"
:
"搜索"
,
"tool_type_social"
:
"社交"
,
"tool_type_tools"
:
"工具"
,
"tools_no_description"
:
"这个工具没有介绍~"
,
...
...
packages/web/i18n/zh-Hant/app.json
View file @
8b0d09e2
...
...
@@ -189,6 +189,7 @@
"tool_type_news"
:
"新聞"
,
"tool_type_productivity"
:
"生產力"
,
"tool_type_scientific"
:
"科研"
,
"tool_type_search"
:
"搜尋"
,
"tool_type_social"
:
"社交"
,
"tool_type_tools"
:
"工具"
,
"tools_no_description"
:
"這個工具沒有介紹~"
,
...
...
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