diff --git a/.github/sync_imgs.yml b/.github/sync_imgs.yml deleted file mode 100644 index e1655d4f1..000000000 --- a/.github/sync_imgs.yml +++ /dev/null @@ -1,4 +0,0 @@ -yangchuansheng/fastgpt-imgs: - - source: docSite/assets/imgs/ - dest: imgs/ - deleteOrphaned: true \ No newline at end of file diff --git a/.github/workflows/docs-deploy-vercel.yml b/.github/workflows/docs-deploy-vercel.yml deleted file mode 100644 index f0d6e0473..000000000 --- a/.github/workflows/docs-deploy-vercel.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Deploy doc image to vercel - -on: - workflow_dispatch: - push: - paths: - - 'docSite/**' - branches: - - 'main' - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains jobs "deploy-production" - deploy-production: - # The environment this job references - environment: - name: Production - url: ${{ steps.vercel-action.outputs.preview-url }} - - # The type of runner that the job will run on - runs-on: ubuntu-22.04 - - permissions: - contents: write - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - - # Job outputs - outputs: - docs: ${{ steps.filter.outputs.docs }} - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Step 1 - Checks-out your repository under $GITHUB_WORKSPACE - - name: Checkout - uses: actions/checkout@v3 - with: - submodules: recursive # Fetch submodules - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - # Step 2 Detect changes to Docs Content - - name: Detect changes in doc content - uses: dorny/paths-filter@v2 - id: filter - with: - filters: | - docs: - - 'docSite/content/docs/**' - base: main - - - name: Add cdn for images - run: | - sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs) - - # Step 3 - Install Hugo (specific version) - - name: Install Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.117.0' - extended: true - - # Step 4 - Builds the site using Hugo - - name: Build - run: cd docSite && hugo mod get -u github.com/colinwilson/lotusdocs@6d0568e && hugo -v --minify - - # Step 5 - Push our generated site to Vercel - - name: Deploy to Vercel - uses: amondnet/vercel-action@v25 - id: vercel-action - with: - vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required - vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} #Required - vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} #Required - github-comment: false - vercel-args: '--prod --local-config ../vercel.json' # Optional - working-directory: docSite/public - - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - if: github.ref == 'refs/heads/main' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docSite/public diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index 900082e4a..2bf0ed18f 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -1,7 +1,7 @@ name: Preview FastGPT docs on: - pull_request: + pull_request_target: paths: - 'docSite/**' workflow_dispatch: diff --git a/docSite/content/zh-cn/docs/development/upgrading/494.md b/docSite/content/zh-cn/docs/development/upgrading/494.md index bf996ad25..72040a494 100644 --- a/docSite/content/zh-cn/docs/development/upgrading/494.md +++ b/docSite/content/zh-cn/docs/development/upgrading/494.md @@ -47,6 +47,7 @@ curl --location --request POST 'https://{{host}}/api/admin/initv494' \ 4. 利用 redis 进行部分数据缓存。 5. 站点同步支持配置训练参数。 6. AI 对话/工具调用,增加返回模型 finish_reason 字段。 +7. 移动端语音输入交互调整 ## ⚙️ 优化 diff --git a/docSite/content/zh-cn/docs/intro.md b/docSite/content/zh-cn/docs/intro.md index 48dec95b2..183e67152 100644 --- a/docSite/content/zh-cn/docs/intro.md +++ b/docSite/content/zh-cn/docs/intro.md @@ -7,7 +7,7 @@ toc: true weight: -10 --- -FastGPT 是一个AI Agent 构建平台,提供开箱即用的数据处理、模型调用等能力,同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的应用场景!t +FastGPT 是一个AI Agent 构建平台,提供开箱即用的数据处理、模型调用等能力,同时可以通过 Flow 可视化进行工作流编排,从而实现复杂的应用场景! {{% alert icon="🤖 " context="success" %}} FastGPT 在线使用:[https://tryfastgpt.ai](https://tryfastgpt.ai)