Commit b29e10cf by Archer Committed by GitHub

V4.14.9 dev (#6582)

* update doc

* update pnpm version

* update lock

* update model config doc

* time

* update dockerfile
parent 765ec526
name: Preview docs build name: Preview Docs Image — Build
on: on:
pull_request: pull_request:
...@@ -6,65 +6,56 @@ on: ...@@ -6,65 +6,56 @@ on:
- 'document/**' - 'document/**'
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: # Only one build per PR branch at a time
build-docs-image: concurrency:
permissions: group: 'preview-docs-build-${{ github.head_ref }}'
cancel-in-progress: true
permissions:
contents: read contents: read
pull-requests: write
runs-on: ubuntu-latest jobs:
build:
runs-on: ubuntu-24.04
steps: steps:
- name: Checkout PR code - name: Checkout PR code
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
- name: Get current datetime ref: ${{ github.event.pull_request.head.sha }}
id: datetime repository: ${{ github.event.pull_request.head.repo.full_name }}
run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Build Docker image - name: Build Docker image (no push)
uses: docker/build-push-action@v5 uses: docker/build-push-action@v6
with: with:
context: ./document context: ./document
file: ./document/Dockerfile file: ./document/Dockerfile
platforms: linux/amd64
push: false push: false
tags: fastgpt-docs:${{ steps.datetime.outputs.datetime }} tags: fastgpt-docs-pr:${{ github.event.pull_request.head.sha }}
labels: | labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/FastGPT org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/FastGPT
org.opencontainers.image.description=FastGPT Docs Preview org.opencontainers.image.description=FastGPT Docs Preview
build-args: | build-args: |
FASTGPT_HOME_DOMAIN=https://fastgpt.io FASTGPT_HOME_DOMAIN=https://fastgpt.io
outputs: type=docker,dest=/tmp/fastgpt-docs-${{ steps.datetime.outputs.datetime }}.tar outputs: type=docker,dest=/tmp/docs-image.tar
cache-from: type=gha,scope=docs
cache-to: type=gha,mode=max,scope=docs
- name: Upload image artifact - name: Save PR metadata
run: |
echo "${{ github.event.pull_request.number }}" > /tmp/pr-number.txt
echo "${{ github.event.pull_request.head.sha }}" > /tmp/pr-sha.txt
- name: Upload Docker image artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: fastgpt-docs-${{ steps.datetime.outputs.datetime }} name: preview-docs-image
path: /tmp/fastgpt-docs-${{ steps.datetime.outputs.datetime }}.tar path: |
/tmp/docs-image.tar
/tmp/pr-number.txt
/tmp/pr-sha.txt
retention-days: 1 retention-days: 1
outputs:
datetime: ${{ steps.datetime.outputs.datetime }}
call-push-workflow:
needs: build-docs-image
permissions:
contents: read
packages: write
attestations: write
id-token: write
pull-requests: write
issues: write
uses: ./.github/workflows/preview-docs-push.yml
secrets:
ALI_IMAGE_USER: ${{ secrets.FASTGPT_ALI_IMAGE_USER }}
ALI_IMAGE_PSW: ${{ secrets.FASTGPT_ALI_IMAGE_PSW }}
ALI_IMAGE_PREFIX: ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}
KUBE_CONFIG_CN: ${{ secrets.KUBE_CONFIG_CN }}
with:
pr_number: ${{ format('{0}', github.event.pull_request.number) }}
datetime: ${{ needs.build-docs-image.outputs.datetime }}
run_id: ${{ format('{0}', github.run_id) }}
name: Preview docs push name: Preview Docs Image — Push
on: on:
workflow_call: workflow_run:
inputs: workflows: ['Preview Docs Image — Build']
pr_number: types: [completed]
required: true
type: string # Only one push at a time
datetime: concurrency:
required: true group: 'preview-docs-push'
type: string cancel-in-progress: false
run_id:
required: true
type: string
secrets:
ALI_IMAGE_USER:
required: true
ALI_IMAGE_PSW:
required: true
ALI_IMAGE_PREFIX:
required: true
KUBE_CONFIG_CN:
required: true
permissions: permissions:
contents: read contents: read
...@@ -28,88 +16,104 @@ permissions: ...@@ -28,88 +16,104 @@ permissions:
attestations: write attestations: write
id-token: write id-token: write
pull-requests: write pull-requests: write
issues: write # Required for issue-comment (PR comments use Issues API) issues: write
actions: read
jobs: jobs:
push-and-deploy: push:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
# Only push when the build succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Read PR information - name: Download build artifact
id: pr
run: |
PR_NUMBER="${{ inputs.pr_number }}"
echo "number=$PR_NUMBER" >> $GITHUB_OUTPUT
echo "Found PR #$PR_NUMBER"
- name: Get artifact name
id: artifacts
run: |
echo "datetime=${{ inputs.datetime }}" >> $GITHUB_OUTPUT
echo "artifact_name=fastgpt-docs-${{ inputs.datetime }}" >> $GITHUB_OUTPUT
- name: Download image artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: ${{ steps.artifacts.outputs.artifact_name }} name: preview-docs-image
path: /tmp/ path: /tmp
run-id: ${{ inputs.run_id }} run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Load Docker image - name: Read PR metadata
id: pr
run: | run: |
docker load -i /tmp/fastgpt-docs-${{ steps.artifacts.outputs.datetime }}.tar echo "number=$(cat /tmp/pr-number.txt)" >> "$GITHUB_OUTPUT"
echo "sha=$(cat /tmp/pr-sha.txt)" >> "$GITHUB_OUTPUT"
- name: Load Docker image
run: docker load --input /tmp/docs-image.tar
- name: Login to Aliyun - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Aliyun Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: registry.cn-hangzhou.aliyuncs.com registry: registry.cn-hangzhou.aliyuncs.com
username: ${{ secrets.ALI_IMAGE_USER }} username: ${{ secrets.FASTGPT_ALI_IMAGE_USER }}
password: ${{ secrets.ALI_IMAGE_PSW }} password: ${{ secrets.FASTGPT_ALI_IMAGE_PSW }}
- name: Tag and push image
run: |
docker tag fastgpt-docs:${{ steps.artifacts.outputs.datetime }} \
${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-docs:${{ steps.artifacts.outputs.datetime }}
docker push ${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-docs:${{ steps.artifacts.outputs.datetime }}
- name: Setup kubeconfig - name: Tag and push Docker image
run: | run: |
mkdir -p $HOME/.kube docker tag fastgpt-docs-pr:${{ steps.pr.outputs.sha }} \
echo "${{ secrets.KUBE_CONFIG_CN }}" > $HOME/.kube/config ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-docs-pr:${{ steps.pr.outputs.sha }}
chmod 600 $HOME/.kube/config docker push ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-docs-pr:${{ steps.pr.outputs.sha }}
- name: Update deployment image - name: Update deployment image
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_CN }}
run: | run: |
kubectl set image deployment/fastgpt-docs-preview \ KUBECONFIG_FILE=$(mktemp)
fastgpt-docs-preview=${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-docs:${{ steps.artifacts.outputs.datetime }} trap "rm -f $KUBECONFIG_FILE" EXIT
echo "$KUBE_CONFIG" > "$KUBECONFIG_FILE"
chmod 600 "$KUBECONFIG_FILE"
- name: Annotate deployment kubectl --kubeconfig "$KUBECONFIG_FILE" set image deployment/fastgpt-docs-preview \
run: | fastgpt-docs-preview=${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-docs-pr:${{ steps.pr.outputs.sha }}
kubectl annotate deployment/fastgpt-docs-preview \
originImageName="${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-docs:${{ steps.artifacts.outputs.datetime }}" --overwrite kubectl --kubeconfig "$KUBECONFIG_FILE" annotate deployment/fastgpt-docs-preview \
originImageName="${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-docs-pr:${{ steps.pr.outputs.sha }}" --overwrite
- name: Comment deployment status - name: Add PR comment on success
uses: FinleyGe/github-tools@0.0.1 if: success() && steps.pr.outputs.number != ''
if: success() uses: actions/github-script@v7
with: with:
token: ${{ secrets.GITHUB_TOKEN }} script: |
tool: issue-comment const prNumber = parseInt('${{ steps.pr.outputs.number }}');
issue-number: ${{ steps.pr.outputs.number }} const marker = '<!-- fastgpt-docs-preview -->';
title: 'Docs Preview:'
body: | const { data: comments } = await github.rest.issues.listComments({
--- owner: context.repo.owner,
🚀 **FastGPT Document Preview Ready!** repo: context.repo.repo,
issue_number: prNumber,
});
const existingComment = comments.find(comment =>
comment.body.includes(marker)
);
const commentBody = `${marker}
✅ **Docs Preview Deployed!**
🔗 [👀 Click here to visit preview](https://pueuoharpgcl.sealoshzh.site) 🔗 [👀 Click here to visit preview](https://pueuoharpgcl.sealoshzh.site)
- name: Comment on failure \`\`\`
uses: FinleyGe/github-tools@0.0.1 ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-docs-pr:${{ steps.pr.outputs.sha }}
if: failure() \`\`\`
with: `;
token: ${{ secrets.GITHUB_TOKEN }}
tool: issue-comment if (existingComment) {
issue-number: ${{ steps.pr.outputs.number }} await github.rest.issues.updateComment({
title: 'Docs Preview Deployment Failed' owner: context.repo.owner,
body: | repo: context.repo.repo,
Failed to deploy docs preview. Please check workflow logs. comment_id: existingComment.id,
body: commentBody
});
} else {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: commentBody
});
}
name: Preview fastgpt build name: Preview FastGPT Image — Build
on: on:
pull_request: pull_request:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
branches: ['*']
jobs: # Only one build per PR branch at a time
build-preview-images: concurrency:
permissions: group: 'preview-fastgpt-build-${{ github.head_ref }}'
cancel-in-progress: true
permissions:
contents: read contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
strategy: strategy:
matrix: matrix:
image: [fastgpt, sandbox, mcp_server] image: [fastgpt, sandbox, mcp_server]
fail-fast: false # 即使一个镜像构建失败,也继续构建其他镜像 fail-fast: false
steps: steps:
- name: Checkout PR code - name: Checkout PR code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}-${{ matrix.image }}
restore-keys: |
${{ runner.os }}-buildx-${{ github.sha }}-
${{ runner.os }}-buildx-
- name: Set image config - name: Set image config
id: config id: config
...@@ -53,51 +45,38 @@ jobs: ...@@ -53,51 +45,38 @@ jobs:
echo "IMAGE_NAME=fastgpt-mcp-server" >> $GITHUB_OUTPUT echo "IMAGE_NAME=fastgpt-mcp-server" >> $GITHUB_OUTPUT
fi fi
- name: Build ${{ matrix.image }} image - name: Set up Docker Buildx
run: | uses: docker/setup-buildx-action@v3
docker buildx build \
-f ${{ steps.config.outputs.DOCKERFILE }} \ - name: Build Docker image (no push)
--label "org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/FastGPT" \ uses: docker/build-push-action@v6
--label "org.opencontainers.image.description=${{ steps.config.outputs.DESCRIPTION }}" \ with:
--label "org.opencontainers.image.revision=${{ github.sha }}" \ context: .
--cache-from=type=local,src=/tmp/.buildx-cache \ file: ${{ steps.config.outputs.DOCKERFILE }}
--cache-to=type=local,dest=/tmp/.buildx-cache-new,mode=max \ platforms: linux/amd64
--output type=docker,dest=/tmp/${{ steps.config.outputs.IMAGE_NAME }}-${{ github.sha }}.tar \ push: false
-t preview-image:${{ github.sha }} \ tags: ${{ steps.config.outputs.IMAGE_NAME }}-pr:${{ github.event.pull_request.head.sha }}
. labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/FastGPT
org.opencontainers.image.description=${{ steps.config.outputs.DESCRIPTION }}
org.opencontainers.image.revision=${{ github.event.pull_request.head.sha }}
outputs: type=docker,dest=/tmp/${{ steps.config.outputs.IMAGE_NAME }}-image.tar
cache-from: type=gha,scope=${{ matrix.image }}
cache-to: type=gha,mode=max,scope=${{ matrix.image }}
- name: Move cache - name: Save PR metadata
run: | run: |
rm -rf /tmp/.buildx-cache echo "${{ github.event.pull_request.number }}" > /tmp/pr-number.txt
mv /tmp/.buildx-cache-new /tmp/.buildx-cache echo "${{ github.event.pull_request.head.sha }}" > /tmp/pr-sha.txt
echo "${{ matrix.image }}" > /tmp/image-type.txt
- name: Upload image artifact - name: Upload Docker image artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ${{ steps.config.outputs.IMAGE_NAME }}-${{ github.sha }} name: preview-${{ matrix.image }}-image
path: /tmp/${{ steps.config.outputs.IMAGE_NAME }}-${{ github.sha }}.tar path: |
/tmp/${{ steps.config.outputs.IMAGE_NAME }}-image.tar
/tmp/pr-number.txt
/tmp/pr-sha.txt
/tmp/image-type.txt
retention-days: 1 retention-days: 1
call-push-workflow:
needs: build-preview-images
strategy:
matrix:
image: [fastgpt, sandbox, mcp_server]
fail-fast: false
permissions:
contents: read
packages: write
attestations: write
id-token: write
pull-requests: write
issues: write
uses: ./.github/workflows/preview-fastgpt-push.yml
secrets:
ALI_IMAGE_USER: ${{ secrets.FASTGPT_ALI_IMAGE_USER }}
ALI_IMAGE_PSW: ${{ secrets.FASTGPT_ALI_IMAGE_PSW }}
ALI_IMAGE_PREFIX: ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}
with:
pr_number: ${{ format('{0}', github.event.pull_request.number) }}
pr_sha: ${{ github.sha }}
run_id: ${{ format('{0}', github.run_id) }}
image: ${{ matrix.image }}
name: Preview fastgpt push name: Preview FastGPT Image — Push
on: on:
workflow_call: workflow_run:
inputs: workflows: ['Preview FastGPT Image — Build']
pr_number: types: [completed]
required: true
type: string
pr_sha:
required: true
type: string
run_id:
required: true
type: string
image:
required: true
type: string
secrets:
ALI_IMAGE_USER:
required: true
ALI_IMAGE_PSW:
required: true
ALI_IMAGE_PREFIX:
required: true
permissions: # Only one push at a time
contents: read concurrency:
packages: write group: 'preview-fastgpt-push'
attestations: write cancel-in-progress: false
id-token: write
pull-requests: write
issues: write
permissions: permissions:
contents: read contents: read
...@@ -38,95 +17,102 @@ permissions: ...@@ -38,95 +17,102 @@ permissions:
id-token: write id-token: write
pull-requests: write pull-requests: write
issues: write issues: write
actions: read
jobs: jobs:
push-preview-images: push:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
# Only push when the build succeeded
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
matrix:
image: [fastgpt, sandbox, mcp_server]
fail-fast: false
steps: steps:
- name: Read PR information
id: pr
run: |
echo "number=${{ inputs.pr_number }}" >> $GITHUB_OUTPUT
echo "sha=${{ inputs.pr_sha }}" >> $GITHUB_OUTPUT
echo "Found PR #${{ inputs.pr_number }} (SHA: ${{ inputs.pr_sha }})"
- name: Set image config - name: Set image config
id: config id: config
run: | run: |
SHA="${{ steps.pr.outputs.sha }}" if [[ "${{ matrix.image }}" == "fastgpt" ]]; then
if [[ "${{ inputs.image }}" == "fastgpt" ]]; then
echo "IMAGE_NAME=fastgpt" >> $GITHUB_OUTPUT echo "IMAGE_NAME=fastgpt" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-pr image" >> $GITHUB_OUTPUT elif [[ "${{ matrix.image }}" == "sandbox" ]]; then
echo "DOCKER_REPO_TAGGED=${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-pr:fastgpt_${SHA}" >> $GITHUB_OUTPUT
elif [[ "${{ inputs.image }}" == "sandbox" ]]; then
echo "IMAGE_NAME=fastgpt-sandbox" >> $GITHUB_OUTPUT echo "IMAGE_NAME=fastgpt-sandbox" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-sandbox-pr image" >> $GITHUB_OUTPUT elif [[ "${{ matrix.image }}" == "mcp_server" ]]; then
echo "DOCKER_REPO_TAGGED=${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-pr:fastgpt_sandbox_${SHA}" >> $GITHUB_OUTPUT
elif [[ "${{ inputs.image }}" == "mcp_server" ]]; then
echo "IMAGE_NAME=fastgpt-mcp-server" >> $GITHUB_OUTPUT echo "IMAGE_NAME=fastgpt-mcp-server" >> $GITHUB_OUTPUT
echo "DESCRIPTION=fastgpt-mcp_server-pr image" >> $GITHUB_OUTPUT
echo "DOCKER_REPO_TAGGED=${{ secrets.ALI_IMAGE_PREFIX }}/fastgpt-pr:fastgpt_mcp_server_${SHA}" >> $GITHUB_OUTPUT
fi fi
- name: Download image artifact - name: Download build artifact
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: ${{ steps.config.outputs.IMAGE_NAME }}-${{ steps.pr.outputs.sha }} name: preview-${{ matrix.image }}-image
path: /tmp/ path: /tmp
run-id: ${{ inputs.run_id }} run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Load Docker image - name: Read PR metadata
id: pr
run: | run: |
docker load -i /tmp/${{ steps.config.outputs.IMAGE_NAME }}-${{ steps.pr.outputs.sha }}.tar echo "number=$(cat /tmp/pr-number.txt)" >> "$GITHUB_OUTPUT"
echo "sha=$(cat /tmp/pr-sha.txt)" >> "$GITHUB_OUTPUT"
- name: Scan image for vulnerabilities - name: Load Docker image
continue-on-error: true run: docker load --input /tmp/${{ steps.config.outputs.IMAGE_NAME }}-image.tar
run: |
# 安装 Trivy
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | sudo tee -a /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy -y
# 扫描镜像 - name: Set up Docker Buildx
trivy image --severity HIGH,CRITICAL --exit-code 0 preview-image:${{ steps.pr.outputs.sha }} uses: docker/setup-buildx-action@v3
- name: Login to Aliyun Container Registry - name: Login to Aliyun Container Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: registry.cn-hangzhou.aliyuncs.com registry: registry.cn-hangzhou.aliyuncs.com
username: ${{ secrets.ALI_IMAGE_USER }} username: ${{ secrets.FASTGPT_ALI_IMAGE_USER }}
password: ${{ secrets.ALI_IMAGE_PSW }} password: ${{ secrets.FASTGPT_ALI_IMAGE_PSW }}
- name: Tag and push image - name: Tag and push Docker image
run: | run: |
docker tag preview-image:${{ steps.pr.outputs.sha }} ${{ steps.config.outputs.DOCKER_REPO_TAGGED }} SHA="${{ steps.pr.outputs.sha }}"
docker push ${{ steps.config.outputs.DOCKER_REPO_TAGGED }} docker tag ${{ steps.config.outputs.IMAGE_NAME }}-pr:${SHA} \
${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-pr:${{ matrix.image }}_${SHA}
docker push ${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-pr:${{ matrix.image }}_${SHA}
- name: Comment push status - name: Add PR comment on success
uses: FinleyGe/github-tools@0.0.1 if: success() && steps.pr.outputs.number != ''
if: success() uses: actions/github-script@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
tool: issue-comment
issue-number: ${{ steps.pr.outputs.number }}
title: 'Preview ${{ inputs.image }} Image:'
body: |
```
${{ steps.config.outputs.DOCKER_REPO_TAGGED }}
```
- name: Comment on failure
uses: FinleyGe/github-tools@0.0.1
if: failure()
with: with:
token: ${{ secrets.GITHUB_TOKEN }} script: |
tool: issue-comment const prNumber = parseInt('${{ steps.pr.outputs.number }}');
issue-number: ${{ steps.pr.outputs.number }} const marker = '<!-- fastgpt-preview-${{ matrix.image }} -->';
title: 'Preview ${{ inputs.image }} Image Push Failed'
body: | const { data: comments } = await github.rest.issues.listComments({
Failed to push preview image. Please check workflow logs. owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
});
const existingComment = comments.find(comment =>
comment.body.includes(marker)
);
const commentBody = `${marker}
✅ **Build Successful** - Preview ${{ matrix.image }} Image for this PR:
\`\`\`
${{ secrets.FASTGPT_ALI_IMAGE_PREFIX }}/fastgpt-pr:${{ matrix.image }}_${{ steps.pr.outputs.sha }}
\`\`\`
`;
if (existingComment) {
await github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: existingComment.id,
body: commentBody
});
} else {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: prNumber,
body: commentBody
});
}
...@@ -20,7 +20,7 @@ jobs: ...@@ -20,7 +20,7 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }} repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
with: with:
version: 9 version: 10
- name: 'Install Deps' - name: 'Install Deps'
run: pnpm install run: pnpm install
- name: 'Test' - name: 'Test'
......
...@@ -20,7 +20,7 @@ jobs: ...@@ -20,7 +20,7 @@ jobs:
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
with: with:
version: 9.4.0 version: 10
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
......
...@@ -129,7 +129,7 @@ export async function generateMetadata(props: { ...@@ -129,7 +129,7 @@ export async function generateMetadata(props: {
}); });
return { return {
title: `${page.data.title} | FastGPT`, title: page.data.title,
description: page.data.description, description: page.data.description,
alternates: { alternates: {
canonical: url, canonical: url,
......
{
"$schema": "node_modules/@fumadocs/cli/dist/schema/default.json",
"aliases": {
"uiDir": "./components/ui",
"componentsDir": "./components",
"blockDir": "./components",
"cssDir": "./styles",
"libDir": "./lib"
},
"baseDir": "",
"uiLibrary": "radix-ui",
"commands": {}
}
\ No newline at end of file
'use client';
import { Check, Link as LinkIcon } from 'lucide-react';
import { ComponentProps, type ReactNode, useEffect, useRef, useState } from 'react';
import { cn } from '../lib/cn';
import { useCopyButton } from 'fumadocs-ui/utils/use-copy-button';
import { buttonVariants } from './ui/button';
import { mergeRefs } from '../lib/merge-refs';
import {
Accordion as Root,
AccordionContent,
AccordionHeader,
AccordionItem,
AccordionTrigger,
} from './ui/accordion';
export function Accordions({
type = 'single',
ref,
className,
defaultValue,
...props
}: ComponentProps<typeof Root>) {
const rootRef = useRef<HTMLDivElement>(null);
const composedRef = mergeRefs(ref, rootRef);
const [value, setValue] = useState<string | string[]>(() =>
type === 'single' ? (defaultValue ?? '') : (defaultValue ?? []),
);
useEffect(() => {
const id = window.location.hash.substring(1);
const element = rootRef.current;
if (!element || id.length === 0) return;
const selected = document.getElementById(id);
if (!selected || !element.contains(selected)) return;
const value = selected.getAttribute('data-accordion-value');
if (value) setValue((prev) => (typeof prev === 'string' ? value : [value, ...prev]));
}, []);
return (
// @ts-expect-error -- Multiple types
<Root
type={type}
ref={composedRef}
value={value}
onValueChange={setValue}
collapsible={type === 'single' ? true : undefined}
className={cn(
'divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card',
className,
)}
{...props}
/>
);
}
export function Accordion({
title,
id,
value = String(title),
children,
...props
}: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
title: string | ReactNode;
value?: string;
}) {
return (
<AccordionItem value={value} {...props}>
<AccordionHeader id={id} data-accordion-value={value}>
<AccordionTrigger>{title}</AccordionTrigger>
{id ? <CopyButton id={id} /> : null}
</AccordionHeader>
<AccordionContent>
<div className="px-4 pb-2 text-[0.9375rem] prose-no-margin">{children}</div>
</AccordionContent>
</AccordionItem>
);
}
function CopyButton({ id }: { id: string }) {
const [checked, onClick] = useCopyButton(() => {
const url = new URL(window.location.href);
url.hash = id;
return navigator.clipboard.writeText(url.toString());
});
return (
<button
type="button"
aria-label="Copy Link"
className={cn(
buttonVariants({
color: 'ghost',
className: 'text-fd-muted-foreground me-2',
}),
)}
onClick={onClick}
>
{checked ? <Check className="size-3.5" /> : <LinkIcon className="size-3.5" />}
</button>
);
}
'use client';
import * as Primitive from '@radix-ui/react-accordion';
import { ChevronRight } from 'lucide-react';
import { type ComponentProps } from 'react';
import { cn } from '../../lib/cn';
export function Accordion({ className, ...props }: ComponentProps<typeof Primitive.Root>) {
return (
<Primitive.Root
className={cn(
'divide-y divide-fd-border overflow-hidden rounded-lg border bg-fd-card',
className,
)}
{...props}
/>
);
}
export function AccordionItem({
className,
children,
...props
}: ComponentProps<typeof Primitive.Item>) {
return (
<Primitive.Item className={cn('scroll-m-24', className)} {...props}>
{children}
</Primitive.Item>
);
}
export function AccordionHeader({
className,
children,
...props
}: ComponentProps<typeof Primitive.Header>) {
return (
<Primitive.Header
className={cn(
'not-prose flex flex-row items-center text-fd-card-foreground font-medium has-focus-visible:bg-fd-accent',
className,
)}
{...props}
>
{children}
</Primitive.Header>
);
}
export function AccordionTrigger({
className,
children,
...props
}: ComponentProps<typeof Primitive.Trigger>) {
return (
<Primitive.Trigger
className={cn(
'group flex flex-1 items-center gap-2 px-3 py-2.5 text-start focus-visible:outline-none',
className,
)}
{...props}
>
<ChevronRight className="size-4 shrink-0 text-fd-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-90" />
{children}
</Primitive.Trigger>
);
}
export function AccordionContent({
className,
children,
...props
}: ComponentProps<typeof Primitive.Content>) {
return (
<Primitive.Content
className={cn(
'overflow-hidden data-[state=closed]:animate-fd-accordion-up data-[state=open]:animate-fd-accordion-down',
className,
)}
{...props}
>
{children}
</Primitive.Content>
);
}
import { cva, type VariantProps } from 'class-variance-authority';
const variants = {
primary:
'bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80 disabled:bg-fd-secondary disabled:text-fd-secondary-foreground',
outline: 'border hover:bg-fd-accent hover:text-fd-accent-foreground',
ghost: 'hover:bg-fd-accent hover:text-fd-accent-foreground',
secondary:
'border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground',
} as const;
export const buttonVariants = cva(
'inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring',
{
variants: {
variant: variants,
// fumadocs use `color` instead of `variant`
color: variants,
size: {
sm: 'gap-1 px-2 py-1.5 text-xs',
icon: 'p-1.5 [&_svg]:size-5',
'icon-sm': 'p-1.5 [&_svg]:size-4.5',
'icon-xs': 'p-1 [&_svg]:size-4',
},
},
},
);
export type ButtonProps = VariantProps<typeof buttonVariants>;
---
title: Connect Models via AI Proxy
description: Connect Models via AI Proxy
---
Starting from `FastGPT 4.8.23`, AI Proxy was introduced to further simplify model configuration.
Similar to One API, AI Proxy serves as an OpenAI API management and distribution system that provides access to all LLMs through the standard OpenAI API format, ready to use out of the box.
## Deployment
### Docker Version
The `docker-compose.yml` file already includes the AI Proxy configuration and can be used directly. [View the latest yml configuration](https://raw.githubusercontent.com/labring/FastGPT/main/deploy/docker/docker-compose-pgvector.yml)
If upgrading from an older version, copy the AI Proxy section from the yml and add it to your existing yml file.
## How It Works
AI Proxy core modules:
1. Channel Management: Manage API keys and available model lists from various model providers.
2. Model Invocation: Select the corresponding channel based on the requested model; construct the request body according to the channel's API format and send the request; format the response into a standard format before returning.
3. Call Logs: Detailed logging of model invocations, with the ability to record input parameters and error messages on failure for easier debugging.
Workflow:
![aiproxy12](/imgs/aiproxy1.png)
## Using AI Proxy in FastGPT
AI Proxy features can be found on the `Account - Model Providers` page.
### 1. Create a Channel
On the `Model Providers` configuration page, click `Model Channels` to enter the channel configuration page.
![aiproxy1](/imgs/aiproxy-1.png)
Click "Add Channel" in the upper right corner to enter the channel configuration page.
![aiproxy2](/imgs/aiproxy-2.png)
Using Alibaba Cloud models as an example:
![aiproxy3](/imgs/aiproxy-3.png)
1. Channel Name: The display name for the channel, used for identification only;
2. Provider: The provider corresponding to the model. Different providers have different default addresses and API key formats;
3. Models: The specific models available for this channel. The system includes mainstream models by default. If the desired option is not in the dropdown, click "Add Model" to [add a custom model](/docs/self-host/config/model/intro/#add-custom-models);
4. Model Mapping: Map the model requested by FastGPT to the actual model provided. For example:
```json
{
"gpt-4o-test": "gpt-4o"
}
```
The model in FastGPT is `gpt-4o-test`, and the request to AI Proxy also uses `gpt-4o-test`. When AI Proxy sends the request upstream, the actual `model` is `gpt-4o`.
5. Proxy Address: The actual request address. The system provides default addresses for each mainstream channel. No need to fill in if no changes are required.
6. API Key: The API credentials obtained from the model provider. Note that some providers require multiple key combinations — follow the prompts to enter them.
Click "Add" to see the newly configured channel under "Model Channels".
![aiproxy4](/imgs/aiproxy-4.png)
### 2. Channel Testing
You can then test the channel to ensure the configured models are working properly.
![aiproxy5](/imgs/aiproxy-5.png)
Click "Model Test" to see the list of configured models, then click "Start Test".
![aiproxy6](/imgs/aiproxy-6.png)
After the test completes, the results and request duration for each model will be displayed.
![aiproxy7](/imgs/aiproxy-7.png)
### 3. Enable Models
Finally, in `Model Configuration`, you can enable the corresponding models to use them on the platform. For more model configuration details, see [Model Configuration](/docs/self-host/config/model/intro).
![aiproxy8](/imgs/aiproxy-8.png)
## Other Features
### Priority
Range: 1-100. Higher values are more likely to be selected first.
![aiproxy9](/imgs/aiproxy-9.png)
### Enable/Disable
In the control menu on the right side of a channel, you can enable or disable it. Disabled channels will no longer provide model services.
![aiproxy10](/imgs/aiproxy-10.png)
### Call Logs
The `Call Logs` page displays request records sent to models, including input/output tokens, request time, duration, request address, and more. Failed requests include detailed input parameters and error messages for debugging, but are only retained for 1 hour (configurable via environment variables).
![aiproxy11](/imgs/aiproxy-11.png)
## Migrating from OneAPI to AI Proxy
You can send an HTTP request from any terminal. Replace `{{host}}` with the AI Proxy address and `{{admin_key}}` with the value of `ADMIN_KEY` in AI Proxy.
The body parameter `dsn` is the MySQL connection string for OneAPI.
```bash
curl --location --request POST '{{host}}/api/channels/import/oneapi' \
--header 'Authorization: Bearer {{admin_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dsn": "mysql://root:s5mfkwst@tcp(dbconn.sealoshzh.site:33123)/mydb"
}'
```
A successful execution returns `"success": true`.
The migration script is not fully precise — it only performs simple data mapping, primarily migrating `proxy addresses`, `models`, and `API keys`. Manual verification after migration is recommended.
---
title: 通过 AI Proxy 接入模型
description: 通过 AI Proxy 接入模型
---
从 `FastGPT 4.8.23` 版本开始,引入 AI Proxy 来进一步方便模型的配置。
AI Proxy 与 One API 类似,也是作为一个 OpenAI 接口管理 & 分发系统,可以通过标准的 OpenAI API 格式访问所有的大模型,开箱即用。
## 部署
### Docker 版本
`docker-compose.yml` 文件已加入了 AI Proxy 配置,可直接使用。[点击查看最新的 yml 配置](https://raw.githubusercontent.com/labring/FastGPT/main/deploy/docker/docker-compose-pgvector.yml)
从旧版升级的用户,可以复制 yml 里,ai proxy 的配置,加入到旧的 yml 文件中。
## 运行原理
AI proxy 核心模块:
1. 渠道管理:管理各家模型提供商的 API Key 和可用模型列表。
2. 模型调用:根据请求的模型,选中对应的渠道;根据渠道的 API 格式,构造请求体,发送请求;格式化响应体成标准格式返回。
3. 调用日志:详细记录模型调用的日志,并在错误时候可以记录其入参和报错信息,方便排查。
运行流程:
![aiproxy12](/imgs/aiproxy1.png)
## 在 FastGPT 中使用
AI proxy 相关功能,可以在`账号-模型提供商`页面找到。
### 1. 创建渠道
在`模型提供商`的配置页面,点击`模型渠道`,进入渠道配置页面
![aiproxy1](/imgs/aiproxy-1.png)
点击右上角的“新增渠道”,即可进入渠道配置页面
![aiproxy2](/imgs/aiproxy-2.png)
以阿里云的模型为例,进行如下配置
![aiproxy3](/imgs/aiproxy-3.png)
1. 渠道名:展示在外部的渠道名称,仅作标识;
2. 厂商:模型对应的厂商,不同厂商对应不同的默认地址和 API 密钥格式;
3. 模型:当前渠道具体可以使用的模型,系统内置了主流的一些模型,如果下拉框中没有想要的选项,可以点击“新增模型”,[增加自定义模型](/docs/self-host/config/model/intro/#新增自定义模型);
4. 模型映射:将 FastGPT 请求的模型,映射到具体提供的模型上。例如:
```json
{
"gpt-4o-test": "gpt-4o"
}
```
FatGPT 中的模型为 `gpt-4o-test`,向 AI Proxy 发起请求时也是 `gpt-4o-test`。AI proxy 在向上游发送请求时,实际的`model`为 `gpt-4o`。
5. 代理地址:具体请求的地址,系统给每个主流渠道配置了默认的地址,如果无需改动则不用填。
6. API 密钥:从模型厂商处获取的 API 凭证。注意部分厂商需要提供多个密钥组合,可以根据提示进行输入。
最后点击“新增”,就能在“模型渠道”下看到刚刚配置的渠道
![aiproxy4](/imgs/aiproxy-4.png)
### 2. 渠道测试
然后可以对渠道进行测试,确保配置的模型有效
![aiproxy5](/imgs/aiproxy-5.png)
点击“模型测试”,可以看到配置的模型列表,点击“开始测试”
![aiproxy6](/imgs/aiproxy-6.png)
等待模型测试完成后,会输出每个模型的测试结果以及请求时长
![aiproxy7](/imgs/aiproxy-7.png)
### 3. 启用模型
最后在`模型配置`中,可以选择启用对应的模型,这样就能在平台中使用了,更多模型配置可以参考[模型配置](/docs/self-host/config/model/intro)
![aiproxy8](/imgs/aiproxy-8.png)
## 其他功能介绍
### 优先级
范围1~100。数值越大,越容易被优先选中。
![aiproxy9](/imgs/aiproxy-9.png)
### 启用/禁用
在渠道右侧的控制菜单中,还可以控制渠道的启用或禁用,被禁用的渠道将无法再提供模型服务
![aiproxy10](/imgs/aiproxy-10.png)
### 调用日志
在 `调用日志` 页面,会展示发送到模型处的请求记录,包括具体的输入输出 tokens、请求时间、请求耗时、请求地址等等。错误的请求,则会详细的入参和错误信息,方便排查,但仅会保留 1 小时(环境变量里可配置)。
![aiproxy11](/imgs/aiproxy-11.png)
## 从 OneAPI 迁移到 AI Proxy
可以从任意终端,发起 1 个 HTTP 请求。其中 `{{host}}` 替换成 AI Proxy 地址,`{{admin_key}}` 替换成 AI Proxy 中 `ADMIN_KEY` 的值。
Body 参数 `dsn` 为 OneAPI 的 mysql 连接串。
```bash
curl --location --request POST '{{host}}/api/channels/import/oneapi' \
--header 'Authorization: Bearer {{admin_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dsn": "mysql://root:s5mfkwst@tcp(dbconn.sealoshzh.site:33123)/mydb"
}'
```
执行成功的情况下会返回 "success": true
脚本目前不是完全准,仅是简单的做数据映射,主要是迁移`代理地址`、`模型`和`API 密钥`,建议迁移后再进行手动检查。
--- ---
title: FastGPT Model Configuration Guide title: Model Configuration
description: FastGPT Model Configuration Guide description: FastGPT model configuration guide
--- ---
import { Alert } from '@/components/docs/Alert'; import { Alert } from '@/components/docs/Alert';
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
Before version 4.8.20, FastGPT model configuration was declared in the `config.json` file. You can find the legacy configuration file example at https://github.com/labring/FastGPT/blob/main/projects/app/data/model.json. ## Introduction
Starting from version 4.8.20, you can configure models directly in the FastGPT UI. The system includes a large number of built-in models, so you don't need to start from scratch. Here's the basic configuration flow: FastGPT uses the `AI Proxy` service to connect to different model providers. AI Proxy also provides load balancing, model logging, and analytics dashboards to help you monitor model usage.
## Configuring Models <Alert icon="🤖" context="success">
Notes:
### 1. Connect to Model Providers 1. Only one speech recognition model can be active at a time, so you only need to configure one.
2. The system requires at least one language model and one embedding model to function properly.
</Alert>
#### AI Proxy ### Architecture Diagram
Starting from version 4.8.23, FastGPT supports configuring model providers directly in the UI using [AI Proxy](/docs/self-host/config/model/ai-proxy) for model aggregation, enabling connections to more providers. ![alt text](../../../../../public/imgs/image-95.png)
#### One API ### Model Types
You can also use the [OneAPI Integration Guide](/docs/self-host/config/model/one-api). You'll need to apply for API access from each provider and add them to OneAPI before using them in FastGPT. Example flow: 1. Language Models - Text-based conversations; multimodal models also support image recognition.
2. Embedding Models - Index text chunks for semantic text retrieval.
3. Rerank Models - Reorder retrieval results to optimize search ranking.
4. Text-to-Speech (TTS) - Convert text to audio.
5. Speech-to-Text (STT) - Convert audio to text.
![alt text](/imgs/image-95.png)
Besides official provider services, there are third-party services that offer model access. You can also use Ollama to deploy local models — all of these ultimately connect through OneAPI. Here are some third-party providers: ### Key Terminology
<Alert icon=" " context="info"> - Model ID: The value of the `model` field in the API request body. Must be globally unique.
- [SiliconCloud](https://cloud.siliconflow.cn/i/TR9Ym0c4): A platform for open source model APIs. - - Model Name: The display name of the model, which can be customized.
[Sealos AIProxy](https://hzh.sealos.run/?uid=fnWRt09fZP&openapp=system-aiproxy): - Model Channel: The protocol of different model providers, such as OpenAI, Anthropic, Google, etc. Most self-hosted channels follow the OpenAI protocol. A single model can be configured across multiple channels to enable load balancing.
Proxies for various Chinese model providers — no need to apply for each API separately. - Custom Request URL / Key: Allows you to bypass Model Channels and send requests directly to a custom endpoint. You need to provide the full request URL and token. Generally not needed (not recommended as it's harder to manage).
</Alert>
Once you've configured models in OneAPI, open the FastGPT page and enable the corresponding models. ## Adding Channels and Models
### 2. Configuration Overview You can configure models from the `Account - Model Providers` page in FastGPT.
<Alert icon="🤖" context="success"> ### 1. Create a Channel
Note: 1. Only one speech recognition model can be active at a time, so you only need to configure one. 2.
The system requires at least one language model and one embedding model to function properly.
</Alert>
#### Core Configuration Switch to the `Model Channels` tab. Note that you can only add models that already exist in `Model Configuration`. The system only includes mainstream models by default — if you need additional models, add them in `Model Configuration` first.
- Model ID: The value of the `model` field in the API request body. Must be globally unique. ![aiproxy1](../../../../../public/imgs/aiproxy-1.png)
- Custom Request URL/Key: If you need to bypass OneAPI, you can set a custom request URL and token. Generally not needed, but useful if OneAPI doesn't support certain models.
#### Model Types Click "Add Channel" in the top-right corner to open the channel configuration page.
1. Language Model - Text conversations; multimodal models support image recognition. ![alt text](../../../../../public/imgs/image-122.png)
2. Embedding Model - Indexes text chunks for relevant text retrieval.
3. Rerank Model - Reorders retrieval results to optimize ranking.
4. Text-to-Speech - Converts text to audio.
5. Speech-to-Text - Converts audio to text.
#### Enabling Models Using Alibaba Bailian models as an example:
The system includes built-in models from mainstream providers. If you're unfamiliar with configuration, just click `Enable`. Make sure the `Model ID` matches the `Model` name in your OneAPI channel. ![alt text](../../../../../public/imgs/image-123.png)
| | | 1. Channel Name: A display label for the channel, used for identification only.
2. Protocol Type: The API protocol for the model. Generally, select the provider that offers the model. Most providers support the OpenAI protocol, so you can also choose OpenAI as the protocol type.
3. Models: The specific models available in this channel. The system includes popular models by default. If the model you need isn't in the dropdown, click "Add Model" to [add a custom model](/docs/self-host/config/model/intro/#add-a-custom-model).
4. Model Mapping: Maps the model name in FastGPT requests to the actual model name at the provider. For example:
```json
{
"gpt-4o-test": "gpt-4o"
}
```
In FastGPT, the model is `gpt-4o-test`, and requests to AI Proxy also use `gpt-4o-test`. When AI Proxy forwards the request upstream, the actual `model` value becomes `gpt-4o`.
5. Proxy URL: Do not enter the full model request URL. Enter the `BaseUrl` instead, and check whether `/v1` needs to be appended.
6. API Key: The API credentials obtained from the model provider. Some providers require multiple keys — follow the on-screen prompts to enter them.
Click "Add" to save. The new channel will appear under "Model Channels".
![aiproxy4](/imgs/aiproxy-4.png)
### 2. Channel Testing
You can test the channel to verify that the configured models are working properly.
![aiproxy5](/imgs/aiproxy-5.png)
Click "Model Test" to see the list of configured models, then click "Start Test".
![aiproxy6](/imgs/aiproxy-6.png)
Once testing completes, you'll see the results and response times for each model.
![aiproxy7](/imgs/aiproxy-7.png)
### 3. Enable Models
The system includes models from major providers by default. If you're not familiar with the configuration, simply click `Enable`. The `Model ID` corresponds to the `Model` in `Model Channels`.
Click "Enable" to activate the model.
| Enable Models | Model ID Mapping |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-91.png) | ![alt text](/imgs/image-92.png) | |![alt text](../../../../../public/imgs/image-92.png) | ![alt text](../../../../../public/imgs/image-124.png) |
### 4. Test Models
FastGPT provides simple tests for each model type on the UI to verify that models are working correctly. Each test sends an actual request using a template.
![alt text](/imgs/image-105.png)
#### Modifying Model Configuration ## Model Configuration
Click the gear icon on the right side of a model to configure it. Different model types have different configuration options. ### Edit Model Configuration
Click the gear icon next to a model to open its configuration. Different model types have different configuration options.
| | | | | |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-93.png) | ![alt text](/imgs/image-94.png) | | ![alt text](/imgs/image-93.png) | ![alt text](/imgs/image-94.png) |
## Adding Custom Models ### Add a Custom Model
If the built-in models don't meet your needs, you can add custom models. If the `Model ID` matches an existing built-in model ID, it will be treated as a modification rather than a new model.
If the built-in models don't meet your needs, you can add custom models. If a custom model's `Model ID` matches a built-in model ID, it will be treated as a modification of the built-in model. 1. **Add via Form**
| | | | | |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-96.png) | ![alt text](/imgs/image-97.png) | | ![alt text](/imgs/image-96.png) | ![alt text](/imgs/image-97.png) |
#### Configuration via Config File 2. **Add via Configuration File**
If you find UI-based model configuration tedious, or want to quickly copy configuration from one system to another, you can use config files instead. If you find it tedious to configure models through the UI, you can use a configuration file instead. This is also useful for quickly replicating the configuration from one system to another.
| | | | | |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-98.png) | ![alt text](/imgs/image-99.png) | | ![alt text](/imgs/image-98.png) | ![alt text](/imgs/image-99.png) |
**Language Model Field Descriptions:** <Accordions>
<Accordion title="Language Model Fields">
```json ```json
{ {
"model": "Model ID", "model": "Model ID",
"metadata": { "metadata": {
"isCustom": true, // Whether this is a custom model "isCustom": true, // Whether this is a custom model
"isActive": true, // Whether this model is enabled "isActive": true, // Whether the model is enabled
"provider": "OpenAI", // Model provider, mainly for categorization display. Built-in providers: https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts. You can submit a PR for new providers, or use "Other" "provider": "OpenAI", // Model provider, used for categorization. Built-in providers: https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts. You can submit a PR for new providers, or use "Other"
"model": "gpt-5", // Model ID (matches the model name in OneAPI channel) "model": "gpt-5", // Model ID (corresponds to the model name in the channel)
"name": "gpt-5", // Model display name "name": "gpt-5", // Display name
"maxContext": 125000, // Max context length "maxContext": 125000, // Maximum context length
"maxResponse": 16000, // Max response length "maxResponse": 16000, // Maximum response length
"quoteMaxToken": 120000, // Max quote content tokens "quoteMaxToken": 120000, // Maximum citation content tokens
"maxTemperature": 1.2, // Max temperature "maxTemperature": 1.2, // Maximum temperature
"charsPointsPrice": 0, // n points/1k tokens (commercial version) "charsPointsPrice": 0, // Credits per 1k tokens (commercial edition)
"censor": false, // Enable content moderation (commercial version) "censor": false, // Enable content moderation (commercial edition)
"vision": true, // Supports image input "vision": true, // Supports image input
"datasetProcess": true, // Use as text understanding model (QA). At least one model must have this set to true, otherwise the knowledge base will error "datasetProcess": true, // Used as a text comprehension model (QA). At least one model must have this set to true, or Knowledge Base will error
"usedInClassify": true, // Use for question classification (at least one must be true) "usedInClassify": true, // Used for question classification (at least one must be true)
"usedInExtractFields": true, // Use for content extraction (at least one must be true) "usedInExtractFields": true, // Used for content extraction (at least one must be true)
"usedInToolCall": true, // Use for tool calling (at least one must be true) "usedInToolCall": true, // Used for tool calls (at least one must be true)
"toolChoice": true, // Supports tool choice (used in classification, extraction, and tool calling) "toolChoice": true, // Supports tool selection (used in classification, extraction, and tool calls)
"functionCall": false, // Supports function calling (used in classification, extraction, and tool calling). toolChoice takes priority; if false, falls back to functionCall; if still false, falls back to prompt mode "functionCall": false, // Supports function calling (used in classification, extraction, and tool calls). toolChoice takes priority; if false, functionCall is used; if also false, prompt mode is used
"customCQPrompt": "", // Custom classification prompt (for models without tool/function call support) "customCQPrompt": "", // Custom text classification prompt (for models without tool/function call support)
"customExtractPrompt": "", // Custom content extraction prompt "customExtractPrompt": "", // Custom content extraction prompt
"defaultSystemChatPrompt": "", // Default system prompt for conversations "defaultSystemChatPrompt": "", // Default system prompt included in conversations
"defaultConfig": {}, // Default config sent with API requests (e.g., GLM4's top_p) "defaultConfig": {}, // Default config sent with API requests (e.g., GLM4's top_p)
"fieldMap": {} // Field mapping (e.g., o1 models need max_tokens mapped to max_completion_tokens) "fieldMap": {} // Field mapping (e.g., o1 models need max_tokens mapped to max_completion_tokens)
} }
} }
``` ```
</Accordion>
**Embedding Model Field Descriptions:** <Accordion title="Embedding Model Fields">
```json ```json
{ {
"model": "Model ID", "model": "Model ID",
"metadata": { "metadata": {
"isCustom": true, // Whether this is a custom model "isCustom": true, // Whether this is a custom model
"isActive": true, // Whether this model is enabled "isActive": true, // Whether the model is enabled
"provider": "OpenAI", // Model provider "provider": "OpenAI", // Model provider
"model": "text-embedding-3-small", // Model ID "model": "text-embedding-3-small", // Model ID
"name": "text-embedding-3-small", // Model display name "name": "text-embedding-3-small", // Display name
"charsPointsPrice": 0, // n points/1k tokens "charsPointsPrice": 0, // Credits per 1k tokens
"defaultToken": 512, // Default token count for text splitting "defaultToken": 512, // Default token count for text splitting
"maxToken": 3000 // Max tokens "maxToken": 3000 // Maximum token count
} }
} }
``` ```
**Rerank Model Field Descriptions:** </Accordion>
<Accordion title="Rerank Model Fields">
```json ```json
{ {
"model": "Model ID", "model": "Model ID",
"metadata": { "metadata": {
"isCustom": true, // Whether this is a custom model "isCustom": true, // Whether this is a custom model
"isActive": true, // Whether this model is enabled "isActive": true, // Whether the model is enabled
"provider": "BAAI", // Model provider "provider": "BAAI", // Model provider
"model": "bge-reranker-v2-m3", // Model ID "model": "bge-reranker-v2-m3", // Model ID
"name": "ReRanker-Base", // Model display name "name": "ReRanker-Base", // Display name
"requestUrl": "", // Custom request URL "requestUrl": "", // Custom request URL
"requestAuth": "", // Custom request auth "requestAuth": "", // Custom request authentication
"type": "rerank" // Model type "type": "rerank" // Model type
} }
} }
``` ```
**Text-to-Speech Model Field Descriptions:** </Accordion>
<Accordion title="Text-to-Speech Model Fields">
```json ```json
{ {
"model": "Model ID", "model": "Model ID",
"metadata": { "metadata": {
"isActive": true, // Whether this model is enabled "isActive": true, // Whether the model is enabled
"isCustom": true, // Whether this is a custom model "isCustom": true, // Whether this is a custom model
"type": "tts", // Model type "type": "tts", // Model type
"provider": "FishAudio", // Model provider "provider": "FishAudio", // Model provider
"model": "fishaudio/fish-speech-1.5", // Model ID "model": "fishaudio/fish-speech-1.5", // Model ID
"name": "fish-speech-1.5", // Model display name "name": "fish-speech-1.5", // Display name
"voices": [ "voices": [
// Voice options // Available voices
{ {
"label": "fish-alex", // Voice name "label": "fish-alex", // Voice name
"value": "fishaudio/fish-speech-1.5:alex" // Voice ID "value": "fishaudio/fish-speech-1.5:alex" // Voice ID
...@@ -177,71 +231,62 @@ If you find UI-based model configuration tedious, or want to quickly copy config ...@@ -177,71 +231,62 @@ If you find UI-based model configuration tedious, or want to quickly copy config
"value": "fishaudio/fish-speech-1.5:anna" // Voice ID "value": "fishaudio/fish-speech-1.5:anna" // Voice ID
} }
], ],
"charsPointsPrice": 0 // n points/1k tokens "charsPointsPrice": 0 // Credits per 1k tokens
} }
} }
``` ```
**Speech-to-Text Model Field Descriptions:** </Accordion>
<Accordion title="Speech-to-Text Model Fields">
```json ```json
{ {
"model": "whisper-1", "model": "whisper-1",
"metadata": { "metadata": {
"isActive": true, // Whether this model is enabled "isActive": true, // Whether the model is enabled
"isCustom": true, // Whether this is a custom model "isCustom": true, // Whether this is a custom model
"provider": "OpenAI", // Model provider "provider": "OpenAI", // Model provider
"model": "whisper-1", // Model ID "model": "whisper-1", // Model ID
"name": "whisper-1", // Model display name "name": "whisper-1", // Display name
"charsPointsPrice": 0, // n points/1k tokens "charsPointsPrice": 0, // Credits per 1k tokens
"type": "stt" // Model type "type": "stt" // Model type
} }
} }
``` ```
## Model Testing </Accordion>
FastGPT provides simple tests for each model type on the UI. You can run a quick check to verify models are working correctly — it sends an actual request using a template.
![alt text](/imgs/image-105.png)
## Special Integration Examples
### Integrating Rerank Models </Accordions>
Since OneAPI doesn't support Rerank models, they need to be configured separately. FastGPT's model configuration supports custom request URLs, allowing you to bypass OneAPI and send requests directly to providers. You can use this feature to integrate Rerank models. ## Other
#### Using SiliconCloud's Online Models ### Channel Priority
A free `bge-reranker-v2-m3` model is available. Range: 1–100. Higher values are prioritized.
1. [Register a SiliconCloud account](https://cloud.siliconflow.cn/i/TR9Ym0c4) ![aiproxy9](/imgs/aiproxy-9.png)
2. Go to the console and get your API key: https://cloud.siliconflow.cn/account/ak
3. Open FastGPT model configuration and add a `BAAI/bge-reranker-v2-m3` rerank model (or modify the built-in one if it already exists).
![alt text](/imgs/image-101.png) ### Enable / Disable Channels
#### Self-Hosted Rerank Models In the control menu on the right side of each channel, you can enable or disable it. Disabled channels will no longer serve model requests.
[View the ReRank model deployment tutorial](/docs/self-host/custom-models/bge-rerank/) ![aiproxy10](/imgs/aiproxy-10.png)
### Integrating Speech Recognition Models ### Model Call Logs
OneAPI's speech recognition interface cannot correctly identify non-Whisper models (it always defaults to whisper-1). To integrate other models, use a custom request URL. For example, to integrate SiliconCloud's `FunAudioLLM/SenseVoiceSmall` model: Model calls made through channels are logged on the `Call Logs` page. Logs include input/output tokens, request time, latency, request URL, and more. Failed requests show detailed parameters and error messages for debugging, but logs are retained for only 1 hour by default (configurable via environment variables).
Click model edit: ![aiproxy11](/imgs/aiproxy-11.png)
![alt text](/imgs/image-106.png)
Enter SiliconCloud's URL: `https://api.siliconflow.cn/v1/audio/transcriptions`, and enter your SiliconCloud API Key. ### Self-Hosted Models
![alt text](/imgs/image-107.png) [See the ReRank model deployment tutorial](/docs/self-host/custom-models/bge-rerank/)
## Other Configuration Options
### Custom Request URL ### Custom Request URL
Setting this value allows you to bypass OneAPI and send requests directly to the custom URL. You need to provide the complete request URL, for example: If you set a custom request URL, requests will bypass `Model Channels` and be sent directly to the specified endpoint. You must provide the full request URL, for example:
- LLM: [host]/v1/chat/completions - LLM: [host]/v1/chat/completions
- Embedding: [host]/v1/embeddings - Embedding: [host]/v1/embeddings
...@@ -249,214 +294,34 @@ Setting this value allows you to bypass OneAPI and send requests directly to the ...@@ -249,214 +294,34 @@ Setting this value allows you to bypass OneAPI and send requests directly to the
- TTS: [host]/v1/audio/speech - TTS: [host]/v1/audio/speech
- Rerank: [host]/v1/rerank - Rerank: [host]/v1/rerank
The custom request key is sent as a request header: `Authorization: Bearer xxx`. The custom request key is included as the `Authorization: Bearer xxx` header when sending requests to the custom URL.
All interfaces follow OpenAI's model format. See the [OpenAI API documentation](https://platform.openai.com/docs/api-reference/introduction) for details.
Since OpenAI doesn't provide a ReRank model, the Cohere format is used instead. [View request examples](/docs/self-host/faq/#how-to-check-model-issues)
### Model Pricing Configuration
Commercial version users can configure model pricing for account billing. The system supports two billing modes: total token billing and separate input/output token billing.
For **separate input/output token billing**, fill in both `Model Input Price` and `Model Output Price`.
For **total token billing**, fill in only `Model Combined Price`.
## How to Submit Built-in Models All endpoints follow the OpenAI model format. Refer to the [OpenAI API documentation](https://platform.openai.com/docs/api-reference/introduction) for details.
Since models update frequently, the official team may not always keep up. If you can't find the built-in model you need, you can [submit an Issue](https://github.com/labring/FastGPT/issues) with the model name and official website, or directly [submit a PR](https://github.com/labring/FastGPT/pulls) with the model configuration. Since OpenAI does not provide a Rerank model, the Rerank endpoint follows the Cohere format. [See request examples](/docs/self-host/faq/#how-to-troubleshoot-model-issues)
### Adding Model Providers ### Adding Model Presets
To add a model provider, modify the following: You can find model provider configuration files in the `modules/model/provider` directory of the `FastGPT-plugin` project and add model configurations there. Make sure the `model` field is unique across all models. For field descriptions, refer to [Model Configuration Fields](/docs/self-host/config/model/intro/#add-via-configuration-file).
1. FastGPT/packages/web/components/common/Icon/icons/model - Add the provider's SVG logo in this directory.
2. In the FastGPT root directory, run `pnpm initIcon` to load the icon into the config file.
3. FastGPT/packages/global/core/ai/provider.ts - Add the provider configuration in this file.
### Adding Models ### Migrating from OneAPI to AI Proxy
In the `FastGPT-plugin` project, find the corresponding provider's config file under the `modules/model/provider` directory and add the model configuration. Make sure the `model` field is unique across all models. For field descriptions, see [Model Configuration Field Descriptions](/docs/self-host/config/model/intro/#configuration-via-config-file). If you were using OneAPI in an older version, you can migrate your channel configuration to AI Proxy using a script.
## Legacy Model Configuration Send the following HTTP request from any terminal. Replace `{{host}}` with the AI Proxy address and `{{admin_key}}` with the `ADMIN_KEY` value in AI Proxy.
After configuring OneAPI, you need to manually add model configuration to the `config.json` file and restart. The `dsn` parameter in the request body is the MySQL connection string for OneAPI.
Since environment variables aren't ideal for complex configuration, FastGPT uses ConfigMap to mount config files. You can find the default config file at `projects/app/data/config.json`. See [docker-compose Quick Deployment](/docs/self-host/deploy/docker/) for how to mount config files. ```bash
curl --location --request POST '{{host}}/api/channels/import/oneapi' \
**In development**, copy the example config file `config.json` to `config.local.json` for it to take effect. --header 'Authorization: Bearer {{admin_key}}' \
**In Docker deployment**, modifying `config.json` requires restarting the container. --header 'Content-Type: application/json' \
--data-raw '{
"dsn": "mysql://root:s5mfkwst@tcp(dbconn.sealoshzh.site:33123)/mydb"
}'
```
The example config file below includes system parameters and model configurations: A successful response will return `"success": true`.
```json Note that the migration script performs a simple data mapping — it primarily transfers `proxy URLs`, `models`, and `API keys`. Manual verification after migration is recommended.
{
"feConfigs": {
"lafEnv": "https://laf.dev" // Laf environment. https://laf.run (Hangzhou Alibaba Cloud), or a private Laf environment. Latest Laf version required for Laf OpenAPI features.
},
"systemEnv": {
"vectorMaxProcess": 15, // Vector processing thread count
"qaMaxProcess": 15, // QA splitting thread count
"tokenWorkers": 50, // Token calculation worker count (persistent memory usage — don't set too high)
"hnswEfSearch": 100 // Vector search parameter (PG and OB only). Higher = more accurate but slower. 100 gives 99%+ accuracy.
},
"llmModels": [
{
"provider": "OpenAI", // Model provider, mainly for categorization display. Built-in providers: https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts. You can submit a PR for new providers, or use "Other"
"model": "gpt-5", // Model name (matches OneAPI channel model name)
"name": "gpt-5", // Model display name
"maxContext": 125000, // Max context
"maxResponse": 16000, // Max response
"quoteMaxToken": 120000, // Max quote content
"maxTemperature": 1.2, // Max temperature
"charsPointsPrice": 0, // n points/1k tokens (commercial version)
"censor": false, // Enable content moderation (commercial version)
"vision": true, // Supports image input
"datasetProcess": true, // Use as text understanding model (QA) — at least one must be true or knowledge base will error
"usedInClassify": true, // Use for question classification (at least one must be true)
"usedInExtractFields": true, // Use for content extraction (at least one must be true)
"usedInToolCall": true, // Use for tool calling (at least one must be true)
"toolChoice": true, // Supports tool choice (used in classification, extraction, tool calling)
"functionCall": false, // Supports function calling (used in classification, extraction, tool calling). toolChoice takes priority; if false, falls back to functionCall; if still false, falls back to prompt mode
"customCQPrompt": "", // Custom classification prompt (for models without tool/function call support)
"customExtractPrompt": "", // Custom content extraction prompt
"defaultSystemChatPrompt": "", // Default system prompt for conversations
"defaultConfig": {}, // Default config sent with API requests (e.g., GLM4's top_p)
"fieldMap": {} // Field mapping (e.g., o1 models need max_tokens mapped to max_completion_tokens)
},
{
"provider": "OpenAI",
"model": "gpt-4o",
"name": "gpt-4o",
"maxContext": 125000,
"maxResponse": 4000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": true,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": true,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {},
"fieldMap": {}
},
{
"provider": "OpenAI",
"model": "o1-mini",
"name": "o1-mini",
"maxContext": 125000,
"maxResponse": 65000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1,
"max_tokens": null,
"stream": false
}
},
{
"provider": "OpenAI",
"model": "o1-preview",
"name": "o1-preview",
"maxContext": 125000,
"maxResponse": 32000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1,
"max_tokens": null,
"stream": false
}
}
],
"vectorModels": [
{
"provider": "OpenAI",
"model": "text-embedding-3-small",
"name": "text-embedding-3-small",
"charsPointsPrice": 0,
"defaultToken": 512,
"maxToken": 3000,
"weight": 100
},
{
"provider": "OpenAI",
"model": "text-embedding-3-large",
"name": "text-embedding-3-large",
"charsPointsPrice": 0,
"defaultToken": 512,
"maxToken": 3000,
"weight": 100,
"defaultConfig": {
"dimensions": 1024
}
},
{
"provider": "OpenAI",
"model": "text-embedding-ada-002", // Model name (matches OneAPI)
"name": "Embedding-2", // Model display name
"charsPointsPrice": 0, // n points/1k tokens
"defaultToken": 700, // Default token count for text splitting
"maxToken": 3000, // Max tokens
"weight": 100, // Training priority weight
"defaultConfig": {}, // Custom extra parameters. For example, to use embedding3-large, pass dimensions:1024 to return 1024-dimensional vectors (currently must be less than 1536 dimensions)
"dbConfig": {}, // Extra parameters for storage (needed for asymmetric vector models)
"queryConfig": {} // Extra parameters for querying
}
],
"reRankModels": [],
"audioSpeechModels": [
{
"provider": "OpenAI",
"model": "tts-1",
"name": "OpenAI TTS1",
"charsPointsPrice": 0,
"voices": [
{ "label": "Alloy", "value": "alloy", "bufferId": "openai-Alloy" },
{ "label": "Echo", "value": "echo", "bufferId": "openai-Echo" },
{ "label": "Fable", "value": "fable", "bufferId": "openai-Fable" },
{ "label": "Onyx", "value": "onyx", "bufferId": "openai-Onyx" },
{ "label": "Nova", "value": "nova", "bufferId": "openai-Nova" },
{ "label": "Shimmer", "value": "shimmer", "bufferId": "openai-Shimmer" }
]
}
],
"whisperModel": {
"provider": "OpenAI",
"model": "whisper-1",
"name": "Whisper1",
"charsPointsPrice": 0
}
}
```
--- ---
title: FastGPT 模型配置说明 title: 模型配置说明
description: FastGPT 模型配置说明 description: FastGPT 模型配置说明
--- ---
import { Alert } from '@/components/docs/Alert'; import { Alert } from '@/components/docs/Alert';
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
在 4.8.20 版本以前,FastGPT 模型配置在 `config.json` 文件中声明,你可以在 https://github.com/labring/FastGPT/blob/main/projects/app/data/model.json 中找到旧版的配置文件示例。 ## 介绍
从 4.8.20 版本开始,你可以直接在 FastGPT 页面中进行模型配置,并且系统内置了大量模型,无需从 0 开始配置。下面介绍模型配置的基本流程: FastGPT 借助`AI Proxy`服务,可以连接到不同的模型提供商。同时`AI Proxy`还提供了负载均衡、模型日志、数据看板等能力,方便检测模型调用情况。
## 配置模型 <Alert icon="🤖" context="success">
注意事项:
### 1. 对接模型提供商 1. 目前语音识别模型仅会生效一个,所以配置时候,只需要配置一个即可。
2. 系统至少需要一个语言模型和一个索引模型才能正常使用。
</Alert>
#### AI Proxy ### 运行流程图
从 4.8.23 版本开始, FastGPT 支持在页面上配置模型提供商,即使用 [AI Proxy 接入教程](/docs/self-host/config/model/ai-proxy) 来进行模型聚合,从而可以对接更多模型提供商。 ![alt text](../../../../../public/imgs/image-95.png)
#### One API ### 模型类型
也可以使用 [OneAPI 接入教程](/docs/self-host/config/model/one-api)。你需要先在各服务商申请好 API 接入 OneAPI 后,才能在 FastGPT 中使用这些模型。示例流程如下: 1. 语言模型 - 进行文本对话,多模态模型支持图片识别。
2. 索引模型 - 对文本块进行索引,用于相关文本检索。
3. 重排模型 - 对检索结果进行重排,用于优化检索排名。
4. 语音合成 - 将文本转换为语音。
5. 语音识别 - 将语音转换为文本。
![alt text](/imgs/image-95.png)
除了各模型官方的服务外,还有一些第三方服务商提供模型接入服务,当然你也可以用 Ollama 等来部署本地模型,最终都需要接入 OneAPI,下面是一些第三方服务商: ### 特殊术语介绍
<Alert icon=" " context="info"> - 模型 ID:接口请求时候,Body 中`model`字段的值,全局唯一。
- [SiliconCloud(硅基流动)](https://cloud.siliconflow.cn/i/TR9Ym0c4): 提供开源模型调用的平台。 - - 模型名: 用于展示的模型名称,可以自定义。
[Sealos AIProxy](https://hzh.sealos.run/?uid=fnWRt09fZP&openapp=system-aiproxy): - 模型渠道:不同的模型提供商协议,例如 OpenAI、Anthropic、Google 等。大部分自建渠道都遵守 OpenAI 的协议。一个模型可以在配置在不同渠道中,实现负载均衡。
提供国内各家模型代理,无需逐一申请 api。 - 自定义请求地址/Key:如果需要绕过`模型渠道`,可以设置自定义请求地址和 Token。一般情况下不需要。(不推荐使用,不方便管理)
</Alert>
在 OneAPI 配置好模型后,你就可以打开 FastGPT 页面,启用对应模型了。 ## 添加渠道/模型
### 2. 配置介绍 可以 FastGPT 中`账号-模型提供商`页面中进行模型配置。
<Alert icon="🤖" context="success"> ### 1. 创建渠道
注意: 1. 目前语音识别模型仅会生效一个,所以配置时候,只需要配置一个即可。 2.
系统至少需要一个语言模型和一个索引模型才能正常使用。
</Alert>
#### 核心配置 切换到`模型渠道`标签页。 注意,这里只能增加`模型配置`里有的模型,系统仅内置了主流的模型,如果需要增加其他模型,需要先在`模型配置`中增加。
- 模型 ID:接口请求时候,Body 中`model`字段的值,全局唯一。 ![aiproxy1](../../../../../public/imgs/aiproxy-1.png)
- 自定义请求地址/Key:如果需要绕过`OneAPI`,可以设置自定义请求地址和 Token。一般情况下不需要,如果 OneAPI 不支持某些模型,可以使用该特性。
#### 模型类型 点击右上角的“新增渠道”,即可进入渠道配置页面
1. 语言模型 - 进行文本对话,多模态模型支持图片识别。 ![alt text](../../../../../public/imgs/image-122.png)
2. 索引模型 - 对文本块进行索引,用于相关文本检索。
3. 重排模型 - 对检索结果进行重排,用于优化检索排名。
4. 语音合成 - 将文本转换为语音。
5. 语音识别 - 将语音转换为文本。
#### 启用模型 以阿里百炼的模型为例,进行如下配置
系统内置了目前主流厂商的模型,如果你不熟悉配置,直接点击`启用`即可,需要注意的是,`模型 ID`需要和 OneAPI 中渠道的`模型`一致。 ![alt text](../../../../../public/imgs/image-123.png)
| | | 1. 渠道名:展示在外部的渠道名称,仅作标识;
2. 协议类型:模型对应的协议类型,一般哪家提供的模型就选对于服务商即可。大多数都提供了 OpenAI 的协议,也可以选择 OpenAI 协议类型。
3. 模型:当前渠道具体可以使用的模型,系统内置了主流的一些模型,如果下拉框中没有想要的选项,可以点击“新增模型”,[增加自定义模型](/docs/self-host/config/model/intro/#新增自定义模型);
4. 模型映射:将 FastGPT 请求的模型,映射到具体提供的模型上。例如:
```json
{
"gpt-4o-test": "gpt-4o"
}
```
FatGPT 中的模型为 `gpt-4o-test`,向 AI Proxy 发起请求时也是 `gpt-4o-test`。AI proxy 在向上游发送请求时,实际的`model`为 `gpt-4o`。
5. 代理地址:不要填完整的模型请求地址,要填写`BaseUrl`,注意是否需要增加`/v1`
6. API 密钥:从模型厂商处获取的 API 凭证。注意部分厂商需要提供多个密钥组合,可以根据提示进行输入。
最后点击“新增”,就能在“模型渠道”下看到刚刚配置的渠道
![aiproxy4](/imgs/aiproxy-4.png)
### 2. 渠道测试
然后可以对渠道进行测试,确保配置的模型有效
![aiproxy5](/imgs/aiproxy-5.png)
点击“模型测试”,可以看到配置的模型列表,点击“开始测试”
![aiproxy6](/imgs/aiproxy-6.png)
等待模型测试完成后,会输出每个模型的测试结果以及请求时长
![aiproxy7](/imgs/aiproxy-7.png)
### 3. 启用模型
系统内置了目前主流厂商的模型,如果你不熟悉配置,直接点击`启用`即可。`模型 ID`是和`模型渠道`中的`模型`一致。
点击启用模型,即可使用。
| 启用模型 | 模型ID映射说明 |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-91.png) | ![alt text](/imgs/image-92.png) | |![alt text](../../../../../public/imgs/image-92.png) | ![alt text](../../../../../public/imgs/image-124.png) |
### 4. 测试模型
FastGPT 页面上提供了每类模型的简单测试,可以初步检查模型是否正常工作,会实际按模板发送一个请求。
![alt text](/imgs/image-105.png)
## 模型配置
#### 修改模型配置 ### 修改模型配置
点击模型右侧的齿轮即可进行模型配置,不同类型模型的配置有区别。 点击模型右侧的齿轮即可进行模型配置,不同类型模型的配置有区别。
...@@ -69,15 +116,17 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -69,15 +116,17 @@ import { Alert } from '@/components/docs/Alert';
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-93.png) | ![alt text](/imgs/image-94.png) | | ![alt text](/imgs/image-93.png) | ![alt text](/imgs/image-94.png) |
## 新增自定义模型 ### 新增自定义模型
如果系统内置的模型无法满足你的需求,你可以添加自定义模型。自定义模型中,如果`模型 ID`与系统内置的模型 ID 一致,则会被认为是修改系统模型。 如果系统内置的模型无法满足你的需求,你可以添加自定义模型。如果`模型 ID`与系统内置的模型 ID 重复,则会被认为是修改系统模型,而不是新增模型。
1. **通过表单添加模型**
| | | | | |
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-96.png) | ![alt text](/imgs/image-97.png) | | ![alt text](/imgs/image-96.png) | ![alt text](/imgs/image-97.png) |
#### 通过配置文件配置 2. **通过配置文件配置**
如果你觉得通过页面配置模型比较麻烦,你也可以通过配置文件来配置模型。或者希望快速将一个系统的配置,复制到另一个系统,也可以通过配置文件来实现。 如果你觉得通过页面配置模型比较麻烦,你也可以通过配置文件来配置模型。或者希望快速将一个系统的配置,复制到另一个系统,也可以通过配置文件来实现。
...@@ -85,8 +134,8 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -85,8 +134,8 @@ import { Alert } from '@/components/docs/Alert';
| ------------------------------- | ------------------------------- | | ------------------------------- | ------------------------------- |
| ![alt text](/imgs/image-98.png) | ![alt text](/imgs/image-99.png) | | ![alt text](/imgs/image-98.png) | ![alt text](/imgs/image-99.png) |
**语言模型字段说明:** <Accordions>
<Accordion title="语言模型字段说明">
```json ```json
{ {
"model": "模型 ID", "model": "模型 ID",
...@@ -117,8 +166,9 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -117,8 +166,9 @@ import { Alert } from '@/components/docs/Alert';
} }
} }
``` ```
</Accordion>
**索引模型字段说明:** <Accordion title="索引模型字段说明">
```json ```json
{ {
...@@ -136,7 +186,9 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -136,7 +186,9 @@ import { Alert } from '@/components/docs/Alert';
} }
``` ```
**重排模型字段说明:** </Accordion>
<Accordion title="重排模型字段说明">
```json ```json
{ {
...@@ -154,7 +206,9 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -154,7 +206,9 @@ import { Alert } from '@/components/docs/Alert';
} }
``` ```
**语音合成模型字段说明:** </Accordion>
<Accordion title="语音合成模型字段说明">
```json ```json
{ {
...@@ -182,7 +236,9 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -182,7 +236,9 @@ import { Alert } from '@/components/docs/Alert';
} }
``` ```
**语音识别模型字段说明:** </Accordion>
<Accordion title="语音识别模型字段说明">
```json ```json
{ {
...@@ -199,49 +255,38 @@ import { Alert } from '@/components/docs/Alert'; ...@@ -199,49 +255,38 @@ import { Alert } from '@/components/docs/Alert';
} }
``` ```
## 模型测试 </Accordion>
FastGPT 页面上提供了每类模型的简单测试,可以初步检查模型是否正常工作,会实际按模板发送一个请求。 </Accordions>
![alt text](/imgs/image-105.png) ## 其他
## 特殊接入示例 ### 渠道优先级
### ReRank 模型接入 范围1~100。数值越大,越容易被优先选中。
由于 OneAPI 不支持 Rerank 模型,所以需要单独配置。FastGPT 中,模型配置支持自定义请求地址,可以绕过 OneAPI,直接向提供商发起请求,可以利用这个特性来接入 Rerank 模型。 ![aiproxy9](/imgs/aiproxy-9.png)
#### 使用硅基流动的在线模型 ### 启用/禁用渠道
有免费的 `bge-reranker-v2-m3` 模型可以使用。 在渠道右侧的控制菜单中,还可以控制渠道的启用或禁用,被禁用的渠道将无法再提供模型服务
1. [点击注册硅基流动账号](https://cloud.siliconflow.cn/i/TR9Ym0c4) ![aiproxy10](/imgs/aiproxy-10.png)
2. 进入控制台,获取 API key: https://cloud.siliconflow.cn/account/ak
3. 打开 FastGPT 模型配置,新增一个`BAAI/bge-reranker-v2-m3`的重排模型(如果系统内置了,也可以直接变更,无需新增)。
![alt text](/imgs/image-101.png) ### 模型调用日志
#### 私有部署模型 通过渠道调用的模型,可以在 `调用日志` 页面,会展示发送到模型处的请求记录,包括具体的输入输出 tokens、请求时间、请求耗时、请求地址等等。错误的请求,则会详细的入参和错误信息,方便排查,但仅会保留 1 小时(环境变量里可配置)。
[点击查看部署 ReRank 模型教程](/docs/self-host/custom-models/bge-rerank/) ![aiproxy11](/imgs/aiproxy-11.png)
### 接入语音识别模型
OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识别成 whisper-1),所以如果想接入其他模型,可以通过自定义请求地址来实现。例如,接入硅基流动的 `FunAudioLLM/SenseVoiceSmall` 模型,可以参考如下配置: ### 私有部署模型
点击模型编辑: [点击查看部署 ReRank 模型教程](/docs/self-host/custom-models/bge-rerank/)
![alt text](/imgs/image-106.png)
填写硅基流动的地址:`https://api.siliconflow.cn/v1/audio/transcriptions`,并填写硅基流动的 API Key。
![alt text](/imgs/image-107.png)
## 其他配置项说明
### 自定义请求地址 ### 自定义请求地址说明
如果填写了该值,则可以允许你绕过 OneAPI,直接向自定义请求地址发起请求。需要填写完整的请求地址,例如: 如果填写了该值,则可以允许你绕过`模型渠道`,直接向自定义请求地址发起请求。需要填写完整的请求地址,例如:
- LLM: [host]/v1/chat/completions - LLM: [host]/v1/chat/completions
- Embedding: [host]/v1/embeddings - Embedding: [host]/v1/embeddings
...@@ -255,208 +300,28 @@ OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识 ...@@ -255,208 +300,28 @@ OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识
由于 OpenAI 没有提供 ReRank 模型,遵循的是 Cohere 的格式。[点击查看接口请求示例](/docs/self-host/faq/#如何检查模型问题) 由于 OpenAI 没有提供 ReRank 模型,遵循的是 Cohere 的格式。[点击查看接口请求示例](/docs/self-host/faq/#如何检查模型问题)
### 模型价格配置 ### 添加模型预设
商业版用户可以通过配置模型价格,来进行账号计费。系统包含两种计费模式:按总 tokens 计费和输入输出 Tokens 分开计费。
如果需要配置`输入输出 Tokens 分开计费模式`,则填写`模型输入价格`和`模型输出价格`两个值。
如果需要配置`按总 tokens 计费模式`,则填写`模型综合价格`一个值。
## 如何提交内置模型
由于模型更新非常频繁,官方不一定及时更新,如果未能找到你期望的内置模型,你可以[提交 Issue](https://github.com/labring/FastGPT/issues),提供模型的名字和对应官网。或者直接[提交 PR](https://github.com/labring/FastGPT/pulls),提供模型配置。
### 添加模型提供商
如果你需要添加模型提供商,需要修改以下代码:
1. FastGPT/packages/web/components/common/Icon/icons/model - 在此目录下,添加模型提供商的 svg 头像地址。
2. 在 FastGPT 根目录下,运行`pnpm initIcon`,将图片加载到配置文件中。
3. FastGPT/packages/global/core/ai/provider.ts - 在此文件中,追加模型提供商的配置。
### 添加模型
你可以在`FastGPT-plugin`项目中`modules/model/provider`目录下,找对应模型提供商的配置文件,并追加模型配置。请自行全文检查,`model`字段,必须在所有模型中唯一。具体配置字段说明,参考[模型配置字段说明](/docs/self-host/config/model/intro/#通过配置文件配置) 你可以在`FastGPT-plugin`项目中`modules/model/provider`目录下,找对应模型提供商的配置文件,并追加模型配置。请自行全文检查,`model`字段,必须在所有模型中唯一。具体配置字段说明,参考[模型配置字段说明](/docs/self-host/config/model/intro/#通过配置文件配置)
## 旧版模型配置说明
配置好 OneAPI 后,需要在`config.json`文件中,手动的增加模型配置,并重启。 ### 从 OneAPI 迁移到 AI Proxy
由于环境变量不利于配置复杂的内容,FastGPT 采用了 ConfigMap 的形式挂载配置文件,你可以在 `projects/app/data/config.json` 看到默认的配置文件。可以参考 [docker-compose 快速部署](/docs/self-host/deploy/docker/) 来挂载配置文件。 对于旧版使用 OneAPI 的用户,可以通过脚本将 OneAPI 里的渠道配置迁移到 AI Proxy。
**开发环境下**,你需要将示例配置文件 `config.json` 复制成 `config.local.json` 文件才会生效。 可以从任意终端,发起 1 个 HTTP 请求。其中 `{{host}}` 替换成 AI Proxy 地址,`{{admin_key}}` 替换成 AI Proxy 中 `ADMIN_KEY` 的值。
**Docker部署**,修改`config.json` 文件,需要重启容器。
下面配置文件示例中包含了系统参数和各个模型配置: Body 参数 `dsn` 为 OneAPI 的 mysql 连接串。
```json ```bash
{ curl --location --request POST '{{host}}/api/channels/import/oneapi' \
"feConfigs": { --header 'Authorization: Bearer {{admin_key}}' \
"lafEnv": "https://laf.dev" // laf环境。 https://laf.run (杭州阿里云) ,或者私有化的laf环境。如果使用 Laf openapi 功能,需要最新版的 laf 。 --header 'Content-Type: application/json' \
}, --data-raw '{
"systemEnv": { "dsn": "mysql://root:s5mfkwst@tcp(dbconn.sealoshzh.site:33123)/mydb"
"vectorMaxProcess": 15, // 向量处理线程数量 }'
"qaMaxProcess": 15, // 问答拆分线程数量
"tokenWorkers": 50, // Token 计算线程保持数,会持续占用内存,不能设置太大。
"hnswEfSearch": 100 // 向量搜索参数,仅对 PG 和 OB 生效。越大,搜索越精确,但是速度越慢。设置为100,有99%+精度。
},
"llmModels": [
{
"provider": "OpenAI", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
"model": "gpt-5", // 模型名(对应OneAPI中渠道的模型名)
"name": "gpt-5", // 模型别名
"maxContext": 125000, // 最大上下文
"maxResponse": 16000, // 最大回复
"quoteMaxToken": 120000, // 最大引用内容
"maxTemperature": 1.2, // 最大温度
"charsPointsPrice": 0, // n积分/1k token(商业版)
"censor": false, // 是否开启敏感校验(商业版)
"vision": true, // 是否支持图片输入
"datasetProcess": true, // 是否设置为文本理解模型(QA),务必保证至少有一个为true,否则知识库会报错
"usedInClassify": true, // 是否用于问题分类(务必保证至少有一个为true)
"usedInExtractFields": true, // 是否用于内容提取(务必保证至少有一个为true)
"usedInToolCall": true, // 是否用于工具调用(务必保证至少有一个为true)
"toolChoice": true, // 是否支持工具选择(分类,内容提取,工具调用会用到。)
"functionCall": false, // 是否支持函数调用(分类,内容提取,工具调用会用到。会优先使用 toolChoice,如果为false,则使用 functionCall,如果仍为 false,则使用提示词模式)
"customCQPrompt": "", // 自定义文本分类提示词(不支持工具和函数调用的模型
"customExtractPrompt": "", // 自定义内容提取提示词
"defaultSystemChatPrompt": "", // 对话默认携带的系统提示词
"defaultConfig": {}, // 请求API时,挟带一些默认配置(比如 GLM4 的 top_p)
"fieldMap": {} // 字段映射(o1 模型需要把 max_tokens 映射为 max_completion_tokens)
},
{
"provider": "OpenAI",
"model": "gpt-4o",
"name": "gpt-4o",
"maxContext": 125000,
"maxResponse": 4000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": true,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": true,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {},
"fieldMap": {}
},
{
"provider": "OpenAI",
"model": "o1-mini",
"name": "o1-mini",
"maxContext": 125000,
"maxResponse": 65000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1,
"max_tokens": null,
"stream": false
}
},
{
"provider": "OpenAI",
"model": "o1-preview",
"name": "o1-preview",
"maxContext": 125000,
"maxResponse": 32000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1,
"max_tokens": null,
"stream": false
}
}
],
"vectorModels": [
{
"provider": "OpenAI",
"model": "text-embedding-3-small",
"name": "text-embedding-3-small",
"charsPointsPrice": 0,
"defaultToken": 512,
"maxToken": 3000,
"weight": 100
},
{
"provider": "OpenAI",
"model": "text-embedding-3-large",
"name": "text-embedding-3-large",
"charsPointsPrice": 0,
"defaultToken": 512,
"maxToken": 3000,
"weight": 100,
"defaultConfig": {
"dimensions": 1024
}
},
{
"provider": "OpenAI",
"model": "text-embedding-ada-002", // 模型名(与OneAPI对应)
"name": "Embedding-2", // 模型展示名
"charsPointsPrice": 0, // n积分/1k token
"defaultToken": 700, // 默认文本分割时候的 token
"maxToken": 3000, // 最大 token
"weight": 100, // 优先训练权重
"defaultConfig": {}, // 自定义额外参数。例如,如果希望使用 embedding3-large 的话,可以传入 dimensions:1024,来返回1024维度的向量。(目前必须小于1536维度)
"dbConfig": {}, // 存储时的额外参数(非对称向量模型时候需要用到)
"queryConfig": {} // 参训时的额外参数
}
],
"reRankModels": [],
"audioSpeechModels": [
{
"provider": "OpenAI",
"model": "tts-1",
"name": "OpenAI TTS1",
"charsPointsPrice": 0,
"voices": [
{ "label": "Alloy", "value": "alloy", "bufferId": "openai-Alloy" },
{ "label": "Echo", "value": "echo", "bufferId": "openai-Echo" },
{ "label": "Fable", "value": "fable", "bufferId": "openai-Fable" },
{ "label": "Onyx", "value": "onyx", "bufferId": "openai-Onyx" },
{ "label": "Nova", "value": "nova", "bufferId": "openai-Nova" },
{ "label": "Shimmer", "value": "shimmer", "bufferId": "openai-Shimmer" }
]
}
],
"whisperModel": {
"provider": "OpenAI",
"model": "whisper-1",
"name": "Whisper1",
"charsPointsPrice": 0
}
}
``` ```
执行成功的情况下会返回 "success": true
脚本目前不是完全准,仅是简单的做数据映射,主要是迁移`代理地址`、`模型`和`API 密钥`,建议迁移后再进行手动检查。
{ {
"title": "Model Configuration", "title": "Model Configuration",
"pages": ["intro", "ai-proxy", "one-api", "siliconCloud", "ppio"] "pages": ["intro", "siliconCloud"]
} }
{ {
"title": "模型配置方案", "title": "模型配置方案",
"pages": ["intro", "ai-proxy", "one-api", "siliconCloud", "ppio"] "pages": ["intro", "siliconCloud"]
} }
---
title: Connect Models via OneAPI
description: Connect Models via OneAPI
---
FastGPT uses a model-separated deployment approach. FastGPT only supports the OpenAI model specification (models not available in OpenAI follow a more generic specification), and uses [One API](https://github.com/songquanpeng/one-api) to unify access to different model interfaces.
[One API](https://github.com/songquanpeng/one-api) is an OpenAI API management and distribution system that provides access to all LLMs through the standard OpenAI API format, ready to use out of the box.
## Relationship Between FastGPT and One API
Think of One API as a gateway. The relationship between FastGPT and One API:
![](/imgs/sealos-fastgpt.webp)
## Deployment
### Sealos Version
* Beijing region: [Deploy OneAPI](https://hzh.sealos.run/?openapp=system-template%3FtemplateName%3Done-api)
* Singapore region (GPT available): [Deploy OneAPI](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Done-api&uid=fnWRt09fZP)
![alt text](/imgs/image-59.png)
After deployment, open the OneAPI access link to proceed with the next steps.
## OneAPI Basic Tutorial
### Concepts
1. Channels:
1. In OneAPI, a channel corresponds to one `Api Key`, which can be from GPT, Microsoft, ChatGLM, ERNIE Bot, etc. A single `Api Key` can typically call multiple models from the same provider.
2. One API routes requests to channels based on the `model` specified in the request. If a model maps to multiple channels, one is selected at random.
2. Tokens: Credentials required to access One API. You only need this single credential to access all models configured in One API. In FastGPT, you only need to configure the `baseurl` and `token` from One API. Do not set any model scope restrictions on the token, as this can cause errors.
![alt text](/imgs/image-60.png)
### General Workflow
1. Client sends a request to One API.
2. One API matches the request to a channel based on the `model` parameter (must match exactly with the models in the channel). If multiple channels match, one is selected at random (same priority).
3. One API sends the request to the actual endpoint.
4. One API returns the result to the client.
### 1. Log in to One API
![step5](/imgs/oneapi-step5.png)
### 2. Create a Channel
Add a channel in One API. Click [Add Base Models] directly — don't forget the embedding models.
![step6](/imgs/oneapi-step6.png)
### 3. Create a Token
| | |
| --- | --- |
| ![step7](/imgs/oneapi-step7.png) | ![alt text](/imgs/image-61.png) |
### 4. Adjust Account Balance
One API defaults to $200 for the root user. You can edit this as needed.
![alt text](/imgs/image-62.png)
### 5. Update FastGPT Environment Variables
With the One API token, FastGPT can send requests to One API by modifying the `baseurl` and `key`, and One API will forward them to the appropriate models. Update these two environment variables:
```bash
# Make sure to include v1. If on the same network, you can use the internal address.
OPENAI_BASE_URL=https://xxxx.cloud.sealos.io/v1
# The key below is the token provided by One API
CHAT_API_KEY=sk-xxxxxx
```
## Connect Other Models
**Example: Adding ERNIE Bot:**
### 1. Add a Model Channel in OneAPI
Select "Baidu Wenxin Qianfan" as the type.
![](/imgs/oneapi-demo1.png)
### 2. Update FastGPT Model Configuration
Open FastGPT model configuration and enable the Wenxin Qianfan model. If the model is not built-in, you can add it manually through the "Add Model" option.
![alt text](/imgs/image-103.png)
## Other Provider Integration References
This section covers tutorials for connecting various providers to OneAPI. After configuration, don't forget to enable the models in FastGPT's model configuration.
### Alibaba Qwen (Tongyi Qianwen)
Qwen is now compatible with the GPT format and can be connected directly using the OpenAI type. As shown below, select `OpenAI` as the type and fill in the Alibaba Cloud proxy address.
You can directly use Alibaba Cloud's language models and the `text-embedding-v3` embedding model (confirmed to be normalized and ready to use).
![alt text](/imgs/image-63.png)
### SiliconCloud — Open Source Model Collection
[SiliconCloud](https://cloud.siliconflow.cn/i/TR9Ym0c4) is a platform specializing in open source model inference with its own acceleration engine. It offers a wide range of models, making it ideal for low-cost testing of open source models. Integration steps:
1. [Register a SiliconCloud account](https://cloud.siliconflow.cn/i/TR9Ym0c4)
2. Go to the console and get your API key: https://cloud.siliconflow.cn/account/ak
3. Add a new OneAPI channel, select `OpenAI` as the type, set the proxy to `https://api.siliconflow.cn`, and use the API key from step 2.
![alt text](/imgs/image-64.png)
Since OneAPI doesn't include SiliconCloud model names by default, you can enter custom model names. Here's how to find the model names:
1. Open the [SiliconCloud model list](https://siliconflow.cn/zh-cn/models)
2. Click on a model to open its details.
3. Copy the model name into OneAPI.
| | | |
| --- | --- | --- |
| ![alt text](/imgs/image-65.png) | ![alt text](/imgs/image-66.png)| ![alt text](/imgs/image-67.png) |
---
title: 通过 OneAPI 接入模型
description: 通过 OneAPI 接入模型
---
FastGPT 目前采用模型分离的部署方案,FastGPT 中只兼容 OpenAI 的模型规范(OpenAI 不存在的模型采用一个较为通用的规范),并通过 [One API](https://github.com/songquanpeng/one-api) 来实现对不同模型接口的统一。
[One API](https://github.com/songquanpeng/one-api) 是一个 OpenAI 接口管理 & 分发系统,可以通过标准的 OpenAI API 格式访问所有的大模型,开箱即用。
## FastGPT 与 One API 关系
可以把 One API 当做一个网关,FastGPT 与 One API 关系:
![](/imgs/sealos-fastgpt.webp)
## 部署
### Sealos 版本
* 北京区: [点击部署 OneAPI](https://hzh.sealos.run/?openapp=system-template%3FtemplateName%3Done-api)
* 新加坡区(可用 GPT) [点击部署 OneAPI](https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Done-api&uid=fnWRt09fZP)
![alt text](/imgs/image-59.png)
部署完后,可以打开 OneAPI 访问链接,进行下一步操作。
## OneAPI 基础教程
### 概念
1. 渠道:
1. OneApi 中一个渠道对应一个 `Api Key`,这个 `Api Key` 可以是GPT、微软、ChatGLM、文心一言的。一个`Api Key`通常可以调用同一个厂商的多个模型。
2. One API 会根据请求传入的`模型`来决定使用哪一个`渠道`,如果一个模型对应了多个`渠道`,则会随机调用。
2. 令牌:访问 One API 所需的凭证,只需要这`1`个凭证即可访问`One API`上配置的模型。因此`FastGPT`中,只需要配置`One API`的`baseurl`和`令牌`即可。令牌不要设置任何的模型范围权限,否则容易报错。
![alt text](/imgs/image-60.png)
### 大致工作流程
1. 客户端请求 One API
2. 根据请求中的 `model` 参数,匹配对应的渠道(根据渠道里的模型进行匹配,必须完全一致)。如果匹配到多个渠道,则随机选择一个(同优先级)。
3. One API 向真正的地址发出请求。
4. One API 将结果返回给客户端。
### 1. 登录 One API
![step5](/imgs/oneapi-step5.png)
### 2. 创建渠道
在 One API 中添加对应渠道,直接点击 【添加基础模型】,不要遗漏了向量模型(Embedding)
![step6](/imgs/oneapi-step6.png)
### 3. 创建令牌
| | |
| --- | --- |
| ![step7](/imgs/oneapi-step7.png) | ![alt text](/imgs/image-61.png) |
### 4. 修改账号余额
One API 默认 root 用户只有 200刀,可以自行修改编辑。
![alt text](/imgs/image-62.png)
### 5. 修改 FastGPT 的环境变量
有了 One API 令牌后,FastGPT 可以通过修改 `baseurl` 和 `key` 去请求到 One API,再由 One API 去请求不同的模型。修改下面两个环境变量:
```bash
# 务必写上 v1。如果在同一个网络内,可改成内网地址。
OPENAI_BASE_URL=https://xxxx.cloud.sealos.io/v1
# 下面的 key 是由 One API 提供的令牌
CHAT_API_KEY=sk-xxxxxx
```
## 接入其他模型
**以添加文心一言为例:**
### 1. OneAPI 新增模型渠道
类型选择百度文心千帆。
![](/imgs/oneapi-demo1.png)
### 2. 修改 FastGPT 模型配置
打开 FastGPT 模型配置,启动文心千帆模型,如果希望未内置,可以通过新增模型来配置。
![alt text](/imgs/image-103.png)
## 其他服务商接入参考
这章介绍一些提供商接入 OneAPI 的教程,配置后不要忘记在 FastGPT 模型配置中启用。
### 阿里通义千问
千问目前已经兼容 GPT 格式,可以直接选择 OpenAI 类型来接入即可。如下图,选择类型为`OpenAI`,代理填写阿里云的代理地址。
目前可以直接使用阿里云的语言模型和 `text-embedding-v3` 向量模型(实测已经归一化,可直接使用)
![alt text](/imgs/image-63.png)
### 硅基流动 —— 开源模型大合集
[硅基流动](https://cloud.siliconflow.cn/i/TR9Ym0c4) 是一个专门提供开源模型调用平台,并拥有自己的加速引擎。模型覆盖面广,非常适合低成本来测试开源模型。接入教程:
1. [点击注册硅基流动账号](https://cloud.siliconflow.cn/i/TR9Ym0c4)
2. 进入控制台,获取 API key: https://cloud.siliconflow.cn/account/ak
3. 新增 OneAPI 渠道,选择`OpenAI`类型,代理填写:`https://api.siliconflow.cn`,密钥是第二步创建的密钥。
![alt text](/imgs/image-64.png)
由于 OneAPI 未内置 硅基流动 的模型名,可以通过自定义模型名称来填入,下面是获取模型名称的教程:
1. 打开[硅基流动模型列表](https://siliconflow.cn/zh-cn/models)
2. 单击模型后,会打开模型详情。
3. 复制模型名到 OneAPI 中。
| | | |
| --- | --- | --- |
| ![alt text](/imgs/image-65.png) | ![alt text](/imgs/image-66.png)| ![alt text](/imgs/image-67.png) |
---
title: Connect Models via PPIO LLM API
description: Connect Models via PPIO LLM API
---
import { Alert } from '@/components/docs/Alert';
FastGPT can also connect models through the PPIO LLM API.
<Alert context="warning">
The following content is adapted from [FastGPT Integration with PPIO LLM
API](https://ppinfra.com/docs/third-party/fastgpt-use) and may not always be up to date.
</Alert>
FastGPT is a platform that simplifies the entire AI development, deployment, and usage workflow into visual operations. Developers don't need to dive deep into algorithms, and users don't need to master complex technologies — it turns AI into an easy-to-use tool through a one-stop service.
PPIO Cloud provides simple and easy-to-use API interfaces that allow developers to easily call models like DeepSeek.
- For developers: No need to restructure your architecture. Complete integration for all scenarios from text generation to decision reasoning with just 3 interfaces — design AI workflows like building blocks.
- For the ecosystem: Automatically adapts resource requirements from small applications to enterprise systems, letting intelligence grow naturally with your business.
The tutorial below provides a complete integration guide (including key configuration) to help you quickly connect FastGPT with the PPIO API.
## 1. Prerequisites
(1) Get the API endpoint
Fixed at: `https://api.ppinfra.com/v3/openai/chat/completions`.
(2) Get the API Key
Log in to the PPIO Cloud console [API Key Management](https://www.ppinfra.com/settings/key-management) page and click the create button.
Use invitation code [VOJL20] when registering to receive a 50 yuan voucher.
<img
src="https://static.ppinfra.com/docs/image/llm/BKWqbzI5PoYG6qxwAPxcinQDnob.png"
alt="Create API Key"
/>
(3) Generate and save the API Key
<Alert context="warning">
Keys are stored encrypted on the server. Please save your key when it is generated. If lost, you can delete it and create a new one in the console.
</Alert>
<img
src="https://static.ppinfra.com/docs/image/llm/OkUwbbWrcoCY2SxwVMIcM2aZnrs.png"
alt="Generate API Key"
/>
<img
src="https://static.ppinfra.com/docs/image/llm/GExfbvcosoJhVKxpzKVczlsdn3d.png"
alt="Save API Key"
/>
(4) Get the model IDs you need
DeepSeek series:
- DeepSeek R1: deepseek/deepseek-r1/community
- DeepSeek V3: deepseek/deepseek-v3/community
For other model IDs, max context, and pricing, see: [Model List](https://ppinfra.com/model-api/pricing)
## 2. Deploy the Latest FastGPT to Your Local Environment
<Alert context="warning">
Please use version v4.8.22 or above. Deployment reference: [Deploy FastGPT](/docs/self-host/dev/)
</Alert>
## 3. Model Configuration (Choose One of the Two Methods Below)
(1) Connect PPIO models via OneAPI: Refer to the OneAPI documentation to update FastGPT environment variables. After generating a token in One API, FastGPT can send requests to One API by modifying the baseurl and key, and One API will forward them to the appropriate models. Update these two environment variables (make sure to include v1; if on the same network, you can use the internal address):
OPENAI_BASE_URL= http://OneAPI-IP:OneAPI-PORT/v1
The key below is the token provided by One API: CHAT_API_KEY=sk-UyVQcpQWMU7ChTVl74B562C28e3c46Fe8f16E6D8AeF8736e
- After restarting FastGPT, select PPIO Cloud in the model providers as shown below:
<img
src="https://static.ppinfra.com/docs/image/llm/Fvqzb3kTroys5Uxkjlzco7kwnsb.png"
alt="Select PPIO Cloud"
/>
- Test connectivity
Using DeepSeek as an example, select deepseek/deepseek-r1/community in the model list, click the position marked 2 in the image to test connectivity. A green success indicator confirms the connection is working and you can proceed with configuring conversations.
<img
src="https://static.ppinfra.com/docs/image/llm/FzKGbGsSPoX4Eexobj2cxcaTnib.png"
alt="Test Connectivity"
/>
(2) Connect PPIO models without OneAPI
Select PPIO Cloud in the model providers as shown below:
<img
src="https://static.ppinfra.com/docs/image/llm/QbcdbPqRsoAmuyx2nlycQWFanrc.png"
alt="Select PPIO Cloud"
/>
- Configure the model: Enter `https://api.ppinfra.com/v3/openai/chat/completions` in the custom request URL field.
<img
src="https://static.ppinfra.com/docs/image/llm/ZVyAbDIaxo7ksAxLI3HcexYYnZf.png"
alt="Configure Model"
/>
<img
src="https://static.ppinfra.com/docs/image/llm/Ha9YbggkwoQsVdx1Z4Gc9zUSnle.png"
alt="Configure Model"
/>
- Test connectivity
<img
src="https://static.ppinfra.com/docs/image/llm/V1f0b89uloab9uxxj7IcKT0rn3e.png"
alt="Test Connectivity"
/>
A green success indicator confirms the connection is working and you can proceed with configuring conversations.
## 4. Configure Conversations
(1) Create a new workspace
<img
src="https://static.ppinfra.com/docs/image/llm/ZaGpbBH6QoVubIx2TsLcwYEInfe.png"
alt="Create Workspace"
/>
(2) Start chatting
<img
src="https://static.ppinfra.com/docs/image/llm/HzcTb4gobokVRQxTlU7cD5OunMf.png"
alt="Start Chatting"
/>
## PPIO New User Benefits
After completing the tutorial configuration steps, you'll unlock two benefits: 1. Enjoy the combination of PPIO's high-speed channel with FastGPT's capabilities; 2. Activate the "New User Referral Reward" — invite friends to register using your exclusive invitation code, and both you and your friend will receive a 50 yuan voucher to boost your AI tool efficiency!
New user exclusive: Register now with invitation code [VOJL20] and receive a 50 yuan voucher instantly!
---
title: 通过 PPIO LLM API 接入模型
description: 通过 PPIO LLM API 接入模型
---
import { Alert } from '@/components/docs/Alert';
FastGPT 还可以通过 PPIO LLM API 接入模型。
<Alert context="warning">
以下内容搬运自 [FastGPT 接入 PPIO LLM
API](https://ppinfra.com/docs/third-party/fastgpt-use),可能会有更新不及时的情况。
</Alert>
FastGPT 是一个将 AI 开发、部署和使用全流程简化为可视化操作的平台。它使开发者不需要深入研究算法,
用户也不需要掌握复杂技术,通过一站式服务将人工智能技术变成易于使用的工具。
PPIO 派欧云提供简单易用的 API 接口,让开发者能够轻松调用 DeepSeek 等模型。
- 对开发者:无需重构架构,3 个接口完成从文本生成到决策推理的全场景接入,像搭积木一样设计 AI 工作流;
- 对生态:自动适配从中小应用到企业级系统的资源需求,让智能随业务自然生长。
下方教程提供完整接入方案(含密钥配置),帮助您快速将 FastGPT 与 PPIO API 连接起来。
## 1. 配置前置条件
(1) 获取 API 接口地址
固定为: `https://api.ppinfra.com/v3/openai/chat/completions`。
(2) 获取 【API 密钥】
登录派欧云控制台 [API 秘钥管理](https://www.ppinfra.com/settings/key-management) 页面,点击创建按钮。
注册账号填写邀请码【VOJL20】得 50 代金券
<img
src="https://static.ppinfra.com/docs/image/llm/BKWqbzI5PoYG6qxwAPxcinQDnob.png"
alt="创建 API 密钥"
/>
(3) 生成并保存 【API 密钥】
<Alert context="warning">
秘钥在服务端是加密存储,请在生成时保存好秘钥;若遗失可以在控制台上删除并创建一个新的秘钥。
</Alert>
<img
src="https://static.ppinfra.com/docs/image/llm/OkUwbbWrcoCY2SxwVMIcM2aZnrs.png"
alt="生成 API 密钥"
/>
<img
src="https://static.ppinfra.com/docs/image/llm/GExfbvcosoJhVKxpzKVczlsdn3d.png"
alt="保存 API 密钥"
/>
(4) 获取需要使用的模型 ID
deepseek 系列:
- DeepSeek R1:deepseek/deepseek-r1/community
- DeepSeek V3:deepseek/deepseek-v3/community
其他模型 ID、最大上下文及价格可参考:[模型列表](https://ppinfra.com/model-api/pricing)
## 2. 部署最新版 FastGPT 到本地环境
<Alert context="warning">
请使用 v4.8.22 以上版本,部署参考: [部署 FastGPT](/docs/self-host/dev/)
</Alert>
## 3. 模型配置(下面两种方式二选其一)
(1)通过 OneAPI 接入模型 PPIO 模型: 参考 OneAPI 使用文档,修改 FastGPT 的环境变量 在 One API 生成令牌后,FastGPT 可以通过修改 baseurl 和 key 去请求到 One API,再由 One API 去请求不同的模型。修改下面两个环境变量: 务必写上 v1。如果在同一个网络内,可改成内网地址。
OPENAI_BASE_URL= http://OneAPI-IP:OneAPI-PORT/v1
下面的 key 是由 One API 提供的令牌 CHAT_API_KEY=sk-UyVQcpQWMU7ChTVl74B562C28e3c46Fe8f16E6D8AeF8736e
- 修改后重启 FastGPT,按下图在模型提供商中选择派欧云
<img
src="https://static.ppinfra.com/docs/image/llm/Fvqzb3kTroys5Uxkjlzco7kwnsb.png"
alt="选择派欧云"
/>
- 测试连通性
以 deepseek 为例,在模型中选择使用 deepseek/deepseek-r1/community,点击图中②的位置进行连通性测试,出现图中绿色的的成功显示证明连通成功,可以进行后续的配置对话了
<img
src="https://static.ppinfra.com/docs/image/llm/FzKGbGsSPoX4Eexobj2cxcaTnib.png"
alt="测试连通性"
/>
(2)不使用 OneAPI 接入 PPIO 模型
按照下图在模型提供商中选择派欧云
<img
src="https://static.ppinfra.com/docs/image/llm/QbcdbPqRsoAmuyx2nlycQWFanrc.png"
alt="选择派欧云"
/>
- 配置模型 自定义请求地址中输入:`https://api.ppinfra.com/v3/openai/chat/completions`
<img
src="https://static.ppinfra.com/docs/image/llm/ZVyAbDIaxo7ksAxLI3HcexYYnZf.png"
alt="配置模型"
/>
<img
src="https://static.ppinfra.com/docs/image/llm/Ha9YbggkwoQsVdx1Z4Gc9zUSnle.png"
alt="配置模型"
/>
- 测试连通性
<img
src="https://static.ppinfra.com/docs/image/llm/V1f0b89uloab9uxxj7IcKT0rn3e.png"
alt="测试连通性"
/>
出现图中绿色的的成功显示证明连通成功,可以进行对话配置
## 4. 配置对话
(1)新建工作台
<img
src="https://static.ppinfra.com/docs/image/llm/ZaGpbBH6QoVubIx2TsLcwYEInfe.png"
alt="新建工作台"
/>
(2)开始聊天
<img
src="https://static.ppinfra.com/docs/image/llm/HzcTb4gobokVRQxTlU7cD5OunMf.png"
alt="开始聊天"
/>
## PPIO 全新福利重磅来袭 🔥
顺利完成教程配置步骤后,您将解锁两大权益:1. 畅享 PPIO 高速通道与 FastGPT 的效能组合;2.立即激活 **「新用户邀请奖励」** ————通过专属邀请码邀好友注册,您与好友可各领 50 元代金券,硬核福利助力 AI 工具效率倍增!
🎁 新手专享:立即使用邀请码【VOJL20】完成注册,50 元代金券奖励即刻到账!
--- ---
title: Try Open Source Models with SiliconCloud title: SiliconCloud Integration Example
description: Try Open Source Models with SiliconCloud description: SiliconCloud integration example for FastGPT
--- ---
[SiliconCloud](https://cloud.siliconflow.cn/i/TR9Ym0c4) is a platform focused on providing open source model inference, with its own acceleration engine. It helps users test and use open source models quickly at low cost. In our experience, their models offer solid speed and stability, with a wide variety covering language, embedding, reranking, TTS, STT, image generation, and video generation models — meeting all model requirements in FastGPT. [SiliconCloud](https://cloud.siliconflow.cn/i/TR9Ym0c4) is a platform focused on open source model inference, with its own acceleration engine. It helps users test and use open source models quickly at low cost. In our experience, their models offer solid speed and stability, with a wide variety covering language, embedding, reranking, TTS, STT, image generation, and video generation — meeting all model requirements in FastGPT.
If you want to use SiliconCloud for only some models, see [OneAPI Integration with SiliconCloud](/docs/self-host/config/model/one-api/#siliconcloud--open-source-model-collection). Before reading this guide, make sure you've read the [Model Configuration Guide](/docs/self-host/config/model/intro).
This guide covers deploying FastGPT entirely with SiliconCloud models. ## 1. Register an Account
## 1. Register a SiliconCloud Account
1. [Register a SiliconCloud account](https://cloud.siliconflow.cn/i/TR9Ym0c4) 1. [Register a SiliconCloud account](https://cloud.siliconflow.cn/i/TR9Ym0c4)
2. Go to the console and get your API key: https://cloud.siliconflow.cn/account/ak 2. Go to the console and get your API key: https://cloud.siliconflow.cn/account/ak
## 2. Update FastGPT Environment Variables ## 2. Add Models
```bash The system includes a few SiliconCloud models by default for quick testing. If you need additional models, you can [add them manually](/docs/self-host/config/model/intro/#add-a-custom-model).
OPENAI_BASE_URL=https://api.siliconflow.cn/v1
# Enter the API Key from the SiliconCloud console
CHAT_API_KEY=sk-xxxxxx
```
## 3. Update FastGPT Model Configuration Here we enable `Qwen2.5 72b` for both text and vision; `bge-m3` as the embedding model; `bge-reranker-v2-m3` as the reranking model; `fish-speech-1.5` as the TTS model; and `SenseVoiceSmall` as the STT model.
The system includes a few SiliconCloud models by default for quick testing. You can add more models manually if needed. ![alt text](/imgs/image-104.png)
Here we enable `Qwen2.5 72b` for both text and vision models; `bge-m3` as the embedding model; `bge-reranker-v2-m3` as the reranking model; `fish-speech-1.5` as the TTS model; and `SenseVoiceSmall` as the STT model.
![alt text](/imgs/image-104.png) ## 3. Add a Model Channel
On the Model Channels page, add a new SiliconCloud channel and select the models you just added.
![alt text](../../../../../public/imgs/image-126.png)
## 4. Test Models
First, verify that all SiliconCloud models are running properly.
![alt text](../../../../../public/imgs/image-127.png)
## 4. Testing ## 5. Test in an App
### Test Chat and Image Recognition ### Test Chat and Image Recognition
......
--- ---
title: 通过 SiliconCloud 体验开源模型 title: 硅基流动接入示例
description: 通过 SiliconCloud 体验开源模型 description: 硅基流动接入示例
--- ---
[SiliconCloud(硅基流动)](https://cloud.siliconflow.cn/i/TR9Ym0c4) 是一个以提供开源模型调用为主的平台,并拥有自己的加速引擎。帮助用户低成本、快速的进行开源模型的测试和使用。实际体验下来,他们家模型的速度和稳定性都非常不错,并且种类丰富,覆盖语言、向量、重排、TTS、STT、绘图、视频生成模型,可以满足 FastGPT 中所有模型需求。 [SiliconCloud(硅基流动)](https://cloud.siliconflow.cn/i/TR9Ym0c4) 是一个以提供开源模型调用为主的平台,并拥有自己的加速引擎。帮助用户低成本、快速的进行开源模型的测试和使用。实际体验下来,他们家模型的速度和稳定性都非常不错,并且种类丰富,覆盖语言、向量、重排、TTS、STT、绘图、视频生成模型,可以满足 FastGPT 中所有模型需求。
如果你想部分模型使用 SiliconCloud 的模型,可额外参考[OneAPI接入硅基流动](/docs/self-host/config/model/one-api/#硅基流动--开源模型大合集)。 在阅读该章之前,请先确保你阅读了[模型配置说明](/docs/self-host/config/model/intro)。
本文会介绍完全使用 SiliconCloud 模型来部署 FastGPT 的方案。 ## 1. 注册账号
## 1. 注册 SiliconCloud 账号
1. [点击注册硅基流动账号](https://cloud.siliconflow.cn/i/TR9Ym0c4) 1. [点击注册硅基流动账号](https://cloud.siliconflow.cn/i/TR9Ym0c4)
2. 进入控制台,获取 API key: https://cloud.siliconflow.cn/account/ak 2. 进入控制台,获取 API key: https://cloud.siliconflow.cn/account/ak
## 2. 修改 FastGPT 环境变量 ## 2. 新增模型
```bash
OPENAI_BASE_URL=https://api.siliconflow.cn/v1
# 填写 SiliconCloud 控制台提供的 Api Key
CHAT_API_KEY=sk-xxxxxx
```
## 3. 修改 FastGPT 模型配置
系统内置了几个硅基流动的模型进行体验,如果需要其他模型,可以手动添加。 系统内置了几个硅基流动的模型进行体验,如果需要其他模型,可以[手动添加](/docs/self-host/config/model/intro/#新增自定义模型)。
这里启动了 `Qwen2.5 72b` 的纯语言和视觉模型;选择 `bge-m3` 作为向量模型;选择 `bge-reranker-v2-m3` 作为重排模型。选择 `fish-speech-1.5` 作为语音模型;选择 `SenseVoiceSmall` 作为语音输入模型。 这里启动了 `Qwen2.5 72b` 的纯语言和视觉模型;选择 `bge-m3` 作为向量模型;选择 `bge-reranker-v2-m3` 作为重排模型。选择 `fish-speech-1.5` 作为语音模型;选择 `SenseVoiceSmall` 作为语音输入模型。
![alt text](/imgs/image-104.png) ![alt text](/imgs/image-104.png)
## 4. 体验测试
## 3. 新增模型渠道
在模型渠道页,新增一个硅基流动的渠道,选择刚刚添加的模型即可。
![alt text](../../../../../public/imgs/image-126.png)
## 4. 测试模型
先测试下硅基流动的模型是否均可正常运行。
![alt text](../../../../../public/imgs/image-127.png)
## 5. 在应用中测试
### 测试对话和图片识别 ### 测试对话和图片识别
......
...@@ -185,7 +185,7 @@ Each container restart automatically initializes the root user with password `12 ...@@ -185,7 +185,7 @@ Each container restart automatically initializes the root user with password `12
### 6. Configure Models ### 6. Configure Models
- After first login, the system prompts that `Language Model` and `Index Model` are not configured and automatically redirects to the model configuration page. At least these two model types are required. - After first login, the system prompts that `Language Model` and `Index Model` are not configured and automatically redirects to the model configuration page. At least these two model types are required.
- If the redirect doesn't happen, go to `Account - Model Providers` to configure models. [View tutorial](/docs/self-host/config/model/ai-proxy) - If the redirect doesn't happen, go to `Account - Model Providers` to configure models. [View tutorial](/docs/self-host/config/model/intro)
- Known issue: after first entering the system, the browser tab may become unresponsive. Close the tab and reopen it. - Known issue: after first entering the system, the browser tab may become unresponsive. Close the tab and reopen it.
### 7. Install System Plugins as Needed ### 7. Install System Plugins as Needed
......
...@@ -185,7 +185,7 @@ docker-compose up -d ...@@ -185,7 +185,7 @@ docker-compose up -d
### 6. 配置模型 ### 6. 配置模型
- 首次登录FastGPT后,系统会提示未配置`语言模型`和`索引模型`,并自动跳转模型配置页面。系统必须至少有这两类模型才能正常使用。 - 首次登录FastGPT后,系统会提示未配置`语言模型`和`索引模型`,并自动跳转模型配置页面。系统必须至少有这两类模型才能正常使用。
- 如果系统未正常跳转,可以在`账号-模型提供商`页面,进行模型配置。[点击查看相关教程](/docs/self-host/config/model/ai-proxy) - 如果系统未正常跳转,可以在`账号-模型提供商`页面,进行模型配置。[点击查看相关教程](/docs/self-host/config/model/intro)
- 目前已知可能问题:首次进入系统后,整个浏览器 tab 无法响应。此时需要删除该tab,重新打开一次即可。 - 目前已知可能问题:首次进入系统后,整个浏览器 tab 无法响应。此时需要删除该tab,重新打开一次即可。
### 7. 按需安装系统插件 ### 7. 按需安装系统插件
......
...@@ -14,8 +14,8 @@ import FastGPTLink from '@/components/docs/linkFastGPT'; ...@@ -14,8 +14,8 @@ import FastGPTLink from '@/components/docs/linkFastGPT';
- [Git](https://git-scm.com/) - [Git](https://git-scm.com/)
- [Docker](https://www.docker.com/) - [Docker](https://www.docker.com/)
- [Node.js v20.14.0](https://nodejs.org)(版本尽量一样,可以使用 [nvm](https://github.com/nvm-sh/nvm) 管理 node 版本) - [Node.js >=20](https://nodejs.org)(版本尽量一样,可以使用 [nvm](https://github.com/nvm-sh/nvm) 管理 node 版本)
- [pnpm](https://pnpm.io/) 推荐版本 9.4.0 (目前官方的开发环境) - [pnpm](https://pnpm.io/) 需要使用 10.x
建议在 *nix 环境进行开发 (Linux, MacOS, Windows WSL) 建议在 *nix 环境进行开发 (Linux, MacOS, Windows WSL)
......
--- ---
title: S3问题排查 title: 存储桶问题排查
description: FastGPT 私有部署常见问题排查方式 description: FastGPT 私有部署存储桶问题排查方式
--- ---
## 1. 日志出现 ERR 等级的 “Failed to ensure external public/private bucket exists”,导致无法连接上对象存储 ## 1. 日志出现 ERR 等级的 “Failed to ensure external public/private bucket exists”,导致无法连接上对象存储
......
...@@ -5,7 +5,7 @@ description: 'FastGPT V4.14.9 更新说明' ...@@ -5,7 +5,7 @@ description: 'FastGPT V4.14.9 更新说明'
### 环境变量更新 ### 环境变量更新
1. 调整 FastGPT 环境变量:CODE_SANDBOX_URL 和 SANDBOX_TOKEN,改名成 CODE_SANDBOX_URL 和 CODE_SANDBOX_TOKEN: 1. 修改 FastGPT 环境变量:CODE_SANDBOX_URL 和 SANDBOX_TOKEN,改名成 CODE_SANDBOX_URL 和 CODE_SANDBOX_TOKEN:
```bash ```bash
SANDBOX_URL=代码运行沙盒的地址 SANDBOX_URL=代码运行沙盒的地址
......
...@@ -76,10 +76,7 @@ description: FastGPT Toc ...@@ -76,10 +76,7 @@ description: FastGPT Toc
- [/en/docs/openapi/intro](/en/docs/openapi/intro) - [/en/docs/openapi/intro](/en/docs/openapi/intro)
- [/en/docs/openapi/share](/en/docs/openapi/share) - [/en/docs/openapi/share](/en/docs/openapi/share)
- [/en/docs/self-host/config/json](/en/docs/self-host/config/json) - [/en/docs/self-host/config/json](/en/docs/self-host/config/json)
- [/en/docs/self-host/config/model/ai-proxy](/en/docs/self-host/config/model/ai-proxy)
- [/en/docs/self-host/config/model/intro](/en/docs/self-host/config/model/intro) - [/en/docs/self-host/config/model/intro](/en/docs/self-host/config/model/intro)
- [/en/docs/self-host/config/model/one-api](/en/docs/self-host/config/model/one-api)
- [/en/docs/self-host/config/model/ppio](/en/docs/self-host/config/model/ppio)
- [/en/docs/self-host/config/model/siliconCloud](/en/docs/self-host/config/model/siliconCloud) - [/en/docs/self-host/config/model/siliconCloud](/en/docs/self-host/config/model/siliconCloud)
- [/en/docs/self-host/config/object-storage](/en/docs/self-host/config/object-storage) - [/en/docs/self-host/config/object-storage](/en/docs/self-host/config/object-storage)
- [/en/docs/self-host/config/signoz](/en/docs/self-host/config/signoz) - [/en/docs/self-host/config/signoz](/en/docs/self-host/config/signoz)
......
...@@ -76,10 +76,7 @@ description: FastGPT 文档目录 ...@@ -76,10 +76,7 @@ description: FastGPT 文档目录
- [/docs/openapi/intro](/docs/openapi/intro) - [/docs/openapi/intro](/docs/openapi/intro)
- [/docs/openapi/share](/docs/openapi/share) - [/docs/openapi/share](/docs/openapi/share)
- [/docs/self-host/config/json](/docs/self-host/config/json) - [/docs/self-host/config/json](/docs/self-host/config/json)
- [/docs/self-host/config/model/ai-proxy](/docs/self-host/config/model/ai-proxy)
- [/docs/self-host/config/model/intro](/docs/self-host/config/model/intro) - [/docs/self-host/config/model/intro](/docs/self-host/config/model/intro)
- [/docs/self-host/config/model/one-api](/docs/self-host/config/model/one-api)
- [/docs/self-host/config/model/ppio](/docs/self-host/config/model/ppio)
- [/docs/self-host/config/model/siliconCloud](/docs/self-host/config/model/siliconCloud) - [/docs/self-host/config/model/siliconCloud](/docs/self-host/config/model/siliconCloud)
- [/docs/self-host/config/object-storage](/docs/self-host/config/object-storage) - [/docs/self-host/config/object-storage](/docs/self-host/config/object-storage)
- [/docs/self-host/config/signoz](/docs/self-host/config/signoz) - [/docs/self-host/config/signoz](/docs/self-host/config/signoz)
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
"document/content/docs/faq/chat.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/faq/chat.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/chat.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/faq/chat.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/faq/dataset.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/faq/dataset.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/dataset.mdx": "2026-02-26T11:41:53+08:00", "document/content/docs/faq/dataset.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/faq/external_channel_integration.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/faq/external_channel_integration.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/external_channel_integration.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/faq/external_channel_integration.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/faq/index.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/faq/index.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/index.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/faq/index.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/faq/other.en.mdx": "2026-03-14T18:13:05+08:00", "document/content/docs/faq/other.en.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/faq/other.mdx": "2026-03-14T18:13:05+08:00", "document/content/docs/faq/other.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/faq/points_consumption.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/faq/points_consumption.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/faq/points_consumption.mdx": "2025-08-02T19:38:37+08:00", "document/content/docs/faq/points_consumption.mdx": "2025-08-02T19:38:37+08:00",
"document/content/docs/introduction/cloud/faq.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/introduction/cloud/faq.en.mdx": "2026-03-03T17:39:47+08:00",
...@@ -147,16 +147,10 @@ ...@@ -147,16 +147,10 @@
"document/content/docs/openapi/share.mdx": "2026-02-12T18:45:30+08:00", "document/content/docs/openapi/share.mdx": "2026-02-12T18:45:30+08:00",
"document/content/docs/self-host/config/json.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/json.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/json.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/json.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/ai-proxy.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/model/intro.en.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/config/model/ai-proxy.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/model/intro.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/config/model/intro.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/model/siliconCloud.en.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/config/model/intro.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/model/siliconCloud.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/config/model/one-api.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/one-api.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/ppio.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/ppio.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/siliconCloud.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/model/siliconCloud.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/object-storage.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/object-storage.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/object-storage.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/object-storage.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/config/signoz.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/config/signoz.en.mdx": "2026-03-03T17:39:47+08:00",
...@@ -177,8 +171,8 @@ ...@@ -177,8 +171,8 @@
"document/content/docs/self-host/custom-models/ollama.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/custom-models/ollama.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/custom-models/xinference.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/custom-models/xinference.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/custom-models/xinference.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/custom-models/xinference.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/deploy/docker.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/deploy/docker.en.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/deploy/docker.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/deploy/docker.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/deploy/sealos.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/deploy/sealos.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/deploy/sealos.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/deploy/sealos.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/design/dataset.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/design/dataset.en.mdx": "2026-03-03T17:39:47+08:00",
...@@ -186,7 +180,7 @@ ...@@ -186,7 +180,7 @@
"document/content/docs/self-host/design/design_plugin.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/design/design_plugin.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/design/design_plugin.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/design/design_plugin.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/dev.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/dev.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/dev.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/dev.mdx": "2026-03-19T11:32:26+08:00",
"document/content/docs/self-host/faq.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/faq.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/index.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/index.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/index.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/index.mdx": "2026-03-03T17:39:47+08:00",
...@@ -194,14 +188,16 @@ ...@@ -194,14 +188,16 @@
"document/content/docs/self-host/migration/docker_db.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/migration/docker_db.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/migration/docker_mongo.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/migration/docker_mongo.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/migration/docker_mongo.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/migration/docker_mongo.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/troubleshooting/faq.en.mdx": "2026-03-14T18:13:05+08:00", "document/content/docs/self-host/troubleshooting/attention.en.mdx": "2026-03-19T11:32:14+08:00",
"document/content/docs/self-host/troubleshooting/faq.mdx": "2026-03-14T18:13:05+08:00", "document/content/docs/self-host/troubleshooting/attention.mdx": "2026-03-19T11:32:14+08:00",
"document/content/docs/self-host/troubleshooting/methods.en.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/faq.en.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/self-host/troubleshooting/methods.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/faq.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/self-host/troubleshooting/model-errors.en.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/methods.en.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/self-host/troubleshooting/model-errors.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/methods.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/self-host/troubleshooting/s3-issues.en.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/model-errors.en.mdx": "2026-03-19T11:32:14+08:00",
"document/content/docs/self-host/troubleshooting/s3-issues.mdx": "2026-03-12T15:26:02+08:00", "document/content/docs/self-host/troubleshooting/model-errors.mdx": "2026-03-19T11:32:14+08:00",
"document/content/docs/self-host/troubleshooting/s3-issues.en.mdx": "2026-03-17T14:44:54+08:00",
"document/content/docs/self-host/troubleshooting/s3-issues.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/self-host/upgrading/4-12/4120.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/4-12/4120.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/4-12/4120.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/4-12/4120.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/4-12/4121.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/4-12/4121.en.mdx": "2026-03-03T17:39:47+08:00",
...@@ -240,7 +236,7 @@ ...@@ -240,7 +236,7 @@
"document/content/docs/self-host/upgrading/4-14/4148.mdx": "2026-03-09T17:39:53+08:00", "document/content/docs/self-host/upgrading/4-14/4148.mdx": "2026-03-09T17:39:53+08:00",
"document/content/docs/self-host/upgrading/4-14/41481.en.mdx": "2026-03-09T12:02:02+08:00", "document/content/docs/self-host/upgrading/4-14/41481.en.mdx": "2026-03-09T12:02:02+08:00",
"document/content/docs/self-host/upgrading/4-14/41481.mdx": "2026-03-09T17:39:53+08:00", "document/content/docs/self-host/upgrading/4-14/41481.mdx": "2026-03-09T17:39:53+08:00",
"document/content/docs/self-host/upgrading/4-14/4149.mdx": "2026-03-16T17:09:25+08:00", "document/content/docs/self-host/upgrading/4-14/4149.mdx": "2026-03-19T11:21:58+08:00",
"document/content/docs/self-host/upgrading/outdated/40.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/outdated/40.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/outdated/40.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/outdated/40.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/outdated/41.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/outdated/41.en.mdx": "2026-03-03T17:39:47+08:00",
...@@ -381,8 +377,8 @@ ...@@ -381,8 +377,8 @@
"document/content/docs/self-host/upgrading/outdated/499.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/outdated/499.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/upgrade-intruction.en.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/self-host/upgrading/upgrade-intruction.mdx": "2026-03-03T17:39:47+08:00", "document/content/docs/self-host/upgrading/upgrade-intruction.mdx": "2026-03-03T17:39:47+08:00",
"document/content/docs/toc.en.mdx": "2026-03-12T15:48:21+08:00", "document/content/docs/toc.en.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/toc.mdx": "2026-03-12T15:48:21+08:00", "document/content/docs/toc.mdx": "2026-03-19T13:55:19+08:00",
"document/content/docs/use-cases/app-cases/dalle3.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/use-cases/app-cases/dalle3.en.mdx": "2026-02-26T22:14:30+08:00",
"document/content/docs/use-cases/app-cases/dalle3.mdx": "2025-07-23T21:35:03+08:00", "document/content/docs/use-cases/app-cases/dalle3.mdx": "2025-07-23T21:35:03+08:00",
"document/content/docs/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-02-26T22:14:30+08:00", "document/content/docs/use-cases/app-cases/english_essay_correction_bot.en.mdx": "2026-02-26T22:14:30+08:00",
......
export { twMerge as cn } from 'tailwind-merge';
import type * as React from 'react';
export function mergeRefs<T>(...refs: (React.Ref<T> | undefined)[]): React.RefCallback<T> {
return (value) => {
refs.forEach((ref) => {
if (typeof ref === 'function') {
ref(value);
} else if (ref) {
ref.current = value;
}
});
};
}
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
"dependencies": { "dependencies": {
"@orama/orama": "^3.1.11", "@orama/orama": "^3.1.11",
"@orama/tokenizers": "^3.1.11", "@orama/tokenizers": "^3.1.11",
"@radix-ui/react-accordion": "^1.2.12",
"class-variance-authority": "^0.7.1",
"fast-glob": "^3.3.3", "fast-glob": "^3.3.3",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"fumadocs-core": "15.6.3", "fumadocs-core": "15.6.3",
...@@ -26,7 +28,8 @@ ...@@ -26,7 +28,8 @@
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.0", "remark-mdx": "^3.1.0",
"remark-stringify": "^11.0.0", "remark-stringify": "^11.0.0",
"schema-dts": "^1.1.5" "schema-dts": "^1.1.5",
"tailwind-merge": "^3.5.0"
}, },
"devDependencies": { "devDependencies": {
"@content-collections/core": "^0.10.0", "@content-collections/core": "^0.10.0",
...@@ -1306,13 +1309,13 @@ ...@@ -1306,13 +1309,13 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@radix-ui/react-accordion": { "node_modules/@radix-ui/react-accordion": {
"version": "1.2.11", "version": "1.2.12",
"resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.11.tgz", "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.12.tgz",
"integrity": "sha512-l3W5D54emV2ues7jjeG1xcyN7S3jnK3zE2zHqgn0CmMsy9lNJwmgcrmaxS+7ipw15FAivzKNzH3d5EcGoFKw0A==", "integrity": "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@radix-ui/primitive": "1.1.2", "@radix-ui/primitive": "1.1.3",
"@radix-ui/react-collapsible": "1.1.11", "@radix-ui/react-collapsible": "1.1.12",
"@radix-ui/react-collection": "1.1.7", "@radix-ui/react-collection": "1.1.7",
"@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-context": "1.1.2", "@radix-ui/react-context": "1.1.2",
...@@ -1336,6 +1339,12 @@ ...@@ -1336,6 +1339,12 @@
} }
} }
}, },
"node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/primitive": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",
"integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",
"license": "MIT"
},
"node_modules/@radix-ui/react-arrow": { "node_modules/@radix-ui/react-arrow": {
"version": "1.1.7", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz", "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.1.7.tgz",
...@@ -1360,16 +1369,16 @@ ...@@ -1360,16 +1369,16 @@
} }
}, },
"node_modules/@radix-ui/react-collapsible": { "node_modules/@radix-ui/react-collapsible": {
"version": "1.1.11", "version": "1.1.12",
"resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.11.tgz", "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.12.tgz",
"integrity": "sha512-2qrRsVGSCYasSz1RFOorXwl0H7g7J1frQtgpQgYrt+MOidtPAINHn9CPovQXb83r8ahapdx3Tu0fa/pdFFSdPg==", "integrity": "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@radix-ui/primitive": "1.1.2", "@radix-ui/primitive": "1.1.3",
"@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-context": "1.1.2", "@radix-ui/react-context": "1.1.2",
"@radix-ui/react-id": "1.1.1", "@radix-ui/react-id": "1.1.1",
"@radix-ui/react-presence": "1.1.4", "@radix-ui/react-presence": "1.1.5",
"@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-primitive": "2.1.3",
"@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-controllable-state": "1.2.2",
"@radix-ui/react-use-layout-effect": "1.1.1" "@radix-ui/react-use-layout-effect": "1.1.1"
...@@ -1389,6 +1398,36 @@ ...@@ -1389,6 +1398,36 @@
} }
} }
}, },
"node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/primitive": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",
"integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",
"license": "MIT"
},
"node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",
"integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
}
},
"node_modules/@radix-ui/react-collection": { "node_modules/@radix-ui/react-collection": {
"version": "1.1.7", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz", "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.7.tgz",
...@@ -6070,9 +6109,9 @@ ...@@ -6070,9 +6109,9 @@
} }
}, },
"node_modules/tailwind-merge": { "node_modules/tailwind-merge": {
"version": "3.3.1", "version": "3.5.0",
"resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.5.0.tgz",
"integrity": "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==", "integrity": "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A==",
"license": "MIT", "license": "MIT",
"funding": { "funding": {
"type": "github", "type": "github",
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
"dependencies": { "dependencies": {
"@orama/orama": "^3.1.11", "@orama/orama": "^3.1.11",
"@orama/tokenizers": "^3.1.11", "@orama/tokenizers": "^3.1.11",
"@radix-ui/react-accordion": "^1.2.12",
"class-variance-authority": "^0.7.1",
"fast-glob": "^3.3.3", "fast-glob": "^3.3.3",
"fs-extra": "^11.3.0", "fs-extra": "^11.3.0",
"fumadocs-core": "15.6.3", "fumadocs-core": "15.6.3",
...@@ -26,7 +28,8 @@ ...@@ -26,7 +28,8 @@
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.0", "remark-mdx": "^3.1.0",
"remark-stringify": "^11.0.0", "remark-stringify": "^11.0.0",
"schema-dts": "^1.1.5" "schema-dts": "^1.1.5",
"tailwind-merge": "^3.5.0"
}, },
"devDependencies": { "devDependencies": {
"@content-collections/core": "^0.10.0", "@content-collections/core": "^0.10.0",
......

108 KB | W: | H:

88.2 KB | W: | H:

document/public/imgs/image-95.png
document/public/imgs/image-95.png
document/public/imgs/image-95.png
document/public/imgs/image-95.png
  • 2-up
  • Swipe
  • Onion skin
/*
检查 public/imgs 里的图片,是否均在 content 下的 mdx 使用,移除没用到的图片。
*/
const fs = require('fs');
const path = require('path');
const DOCUMENT_ROOT = path.resolve(__dirname, '..');
const IMGS_DIR = path.join(DOCUMENT_ROOT, 'public', 'imgs');
const CONTENT_DIR = path.join(DOCUMENT_ROOT, 'content');
const IMG_EXTENSIONS = new Set(['.png', '.jpg', '.jpeg', '.gif', '.webp', '.svg', '.ico', '.bmp']);
/**
* 递归获取目录下所有文件
*/
function getAllFiles(dirPath, extensions) {
const files = [];
function traverse(currentPath) {
const items = fs.readdirSync(currentPath);
for (const item of items) {
const fullPath = path.join(currentPath, item);
const stat = fs.statSync(fullPath);
if (stat.isDirectory()) {
traverse(fullPath);
} else if (stat.isFile()) {
if (!extensions || extensions.has(path.extname(item).toLowerCase())) {
files.push(fullPath);
}
}
}
}
traverse(dirPath);
return files;
}
/**
* 获取 public/imgs 下所有图片文件,返回相对于 public/imgs 的路径集合
*/
function getAllImageFiles() {
const imgFiles = getAllFiles(IMGS_DIR, IMG_EXTENSIONS);
return imgFiles.map((filePath) => ({
absolutePath: filePath,
// 相对于 imgs 目录的路径,如 "image-1.png" 或 "guide/team_permissions/1.png"
relativePath: path.relative(IMGS_DIR, filePath)
}));
}
/**
* 获取所有 mdx/md 文件内容
*/
function getAllDocContents() {
const docFiles = getAllFiles(CONTENT_DIR, new Set(['.md', '.mdx']));
return docFiles.map((filePath) => ({
filePath,
content: fs.readFileSync(filePath, 'utf-8')
}));
}
/**
* 从所有文档中提取被引用的图片路径(相对于 imgs 目录)
*
* 支持以下引用模式:
* 1. ![alt](/imgs/xxx.png) - 绝对路径
* 2. ![alt](../../../public/imgs/xxx.png) - 相对路径
* 3. src="/imgs/xxx.png" - HTML img 标签
* 4. src={"/imgs/xxx.png"} - JSX img 标签
*/
function extractReferencedImages(docContents) {
const referencedImages = new Set();
// 匹配模式1: ![...](/imgs/path)
const absolutePathRegex = /!\[.*?\]\(\/imgs\/(.+?)\)/g;
// 匹配模式2: ![...](相对路径/public/imgs/path)
const relativePathRegex = /!\[.*?\]\((?:\.\.\/)*public\/imgs\/(.+?)\)/g;
// 匹配模式3: src="/imgs/path" 或 src='/imgs/path'
const srcAbsoluteRegex = /src=["']\/imgs\/(.+?)["']/g;
// 匹配模式4: src={"/imgs/path"} 或 src={'/imgs/path'}
const srcJsxRegex = /src=\{["']\/imgs\/(.+?)["']\}/g;
for (const { content } of docContents) {
for (const regex of [absolutePathRegex, relativePathRegex, srcAbsoluteRegex, srcJsxRegex]) {
let match;
// 每次使用前重置 lastIndex
regex.lastIndex = 0;
while ((match = regex.exec(content)) !== null) {
referencedImages.add(match[1]);
}
}
}
return referencedImages;
}
/**
* 主函数
*/
function main() {
const dryRun = process.argv.includes('--dry-run');
console.log('🔍 开始扫描...');
console.log(` 图片目录: ${IMGS_DIR}`);
console.log(` 文档目录: ${CONTENT_DIR}`);
console.log(` 模式: ${dryRun ? '预览(不删除)' : '删除无效图片'}\n`);
// 1. 获取所有图片
const allImages = getAllImageFiles();
console.log(`📁 共发现 ${allImages.length} 个图片文件`);
// 2. 获取所有文档内容
const docContents = getAllDocContents();
console.log(`📄 共发现 ${docContents.length} 个文档文件`);
// 3. 提取被引用的图片
const referencedImages = extractReferencedImages(docContents);
console.log(`🔗 共发现 ${referencedImages.size} 个图片引用\n`);
// 4. 找出未被引用的图片
const unusedImages = allImages.filter(
(img) => !referencedImages.has(img.relativePath.replace(/\\/g, '/'))
);
if (unusedImages.length === 0) {
console.log('✅ 所有图片均被文档引用,无需清理!');
return;
}
console.log(`⚠️ 发现 ${unusedImages.length} 个未被引用的图片:\n`);
// 按目录分组显示
const grouped = {};
for (const img of unusedImages) {
const dir = path.dirname(img.relativePath) || '.';
if (!grouped[dir]) grouped[dir] = [];
grouped[dir].push(path.basename(img.relativePath));
}
for (const [dir, files] of Object.entries(grouped).sort()) {
const dirLabel = dir === '.' ? '(根目录)' : dir;
console.log(` 📂 ${dirLabel}/`);
for (const file of files.sort()) {
console.log(` - ${file}`);
}
}
console.log('');
// 5. 删除未被引用的图片
if (dryRun) {
console.log('ℹ️ 预览模式,未执行删除。使用不带 --dry-run 参数运行以删除。');
} else {
let deletedCount = 0;
let totalSize = 0;
for (const img of unusedImages) {
try {
const stat = fs.statSync(img.absolutePath);
totalSize += stat.size;
fs.unlinkSync(img.absolutePath);
deletedCount++;
} catch (err) {
console.error(` ❌ 删除失败: ${img.relativePath} - ${err.message}`);
}
}
// 清理空目录
cleanEmptyDirs(IMGS_DIR);
const sizeMB = (totalSize / 1024 / 1024).toFixed(2);
console.log(`🗑️ 已删除 ${deletedCount} 个图片,释放 ${sizeMB} MB 空间`);
}
// 6. 输出统计
console.log('\n📊 统计:');
console.log(` 总图片数: ${allImages.length}`);
console.log(` 已引用图片数: ${allImages.length - unusedImages.length}`);
console.log(` 未引用图片数: ${unusedImages.length}`);
console.log(
` 使用率: ${(((allImages.length - unusedImages.length) / allImages.length) * 100).toFixed(1)}%`
);
}
/**
* 递归清理空目录
*/
function cleanEmptyDirs(dirPath) {
const items = fs.readdirSync(dirPath);
for (const item of items) {
const fullPath = path.join(dirPath, item);
if (fs.statSync(fullPath).isDirectory()) {
cleanEmptyDirs(fullPath);
}
}
// 再次检查是否为空
if (fs.readdirSync(dirPath).length === 0 && dirPath !== IMGS_DIR) {
fs.rmdirSync(dirPath);
console.log(` 🗂️ 清理空目录: ${path.relative(IMGS_DIR, dirPath)}/`);
}
}
main();
...@@ -53,6 +53,6 @@ ...@@ -53,6 +53,6 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
} }
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@fastgpt-sdk/plugin": "0.3.8", "@fastgpt-sdk/plugin": "0.3.8",
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"type": "module", "type": "module",
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.2", "@apidevtools/json-schema-ref-parser": "^11.7.2",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/anatomy": "catalog:", "@chakra-ui/anatomy": "catalog:",
......
...@@ -45,12 +45,6 @@ catalogs: ...@@ -45,12 +45,6 @@ catalogs:
'@types/node': '@types/node':
specifier: ^20 specifier: ^20
version: 20.17.24 version: 20.17.24
'@types/react':
specifier: ^18
version: 18.3.1
'@types/react-dom':
specifier: ^18
version: 18.3.0
axios: axios:
specifier: 1.13.6 specifier: 1.13.6
version: 1.13.6 version: 1.13.6
...@@ -96,12 +90,6 @@ catalogs: ...@@ -96,12 +90,6 @@ catalogs:
proxy-agent: proxy-agent:
specifier: ^6 specifier: ^6
version: 6.5.0 version: 6.5.0
react:
specifier: ^18
version: 18.3.1
react-dom:
specifier: ^18
version: 18.3.1
react-i18next: react-i18next:
specifier: 14.1.2 specifier: 14.1.2
version: 14.1.2 version: 14.1.2
...@@ -115,13 +103,19 @@ catalogs: ...@@ -115,13 +103,19 @@ catalogs:
specifier: ^4 specifier: ^4
version: 4.1.12 version: 4.1.12
overrides:
'@types/react': ^18
'@types/react-dom': ^18
react: ^18
react-dom: ^18
importers: importers:
.: .:
devDependencies: devDependencies:
'@chakra-ui/cli': '@chakra-ui/cli':
specifier: ^2.4.1 specifier: ^2.4.1
version: 2.5.8(encoding@0.1.13)(react@18.3.1) version: 2.5.8(react@18.3.1)
'@typescript-eslint/eslint-plugin': '@typescript-eslint/eslint-plugin':
specifier: ^6.21.0 specifier: ^6.21.0
version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1)(typescript@5.8.2) version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1)(typescript@5.8.2)
...@@ -548,7 +542,7 @@ importers: ...@@ -548,7 +542,7 @@ importers:
specifier: ^5.4.1 specifier: ^5.4.1
version: 5.4.1 version: 5.4.1
react: react:
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
react-beautiful-dnd: react-beautiful-dnd:
specifier: ^13.1.1 specifier: ^13.1.1
...@@ -557,7 +551,7 @@ importers: ...@@ -557,7 +551,7 @@ importers:
specifier: ^8.7.1 specifier: ^8.7.1
version: 8.10.1(date-fns@3.6.0)(react@18.3.1) version: 8.10.1(date-fns@3.6.0)(react@18.3.1)
react-dom: react-dom:
specifier: 'catalog:' specifier: ^18
version: 18.3.1(react@18.3.1) version: 18.3.1(react@18.3.1)
react-hook-form: react-hook-form:
specifier: 7.43.1 specifier: 7.43.1
...@@ -597,13 +591,13 @@ importers: ...@@ -597,13 +591,13 @@ importers:
specifier: ^5.3.7 specifier: ^5.3.7
version: 5.3.7 version: 5.3.7
'@types/react': '@types/react':
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
'@types/react-beautiful-dnd': '@types/react-beautiful-dnd':
specifier: ^13.1.1 specifier: ^13.1.1
version: 13.1.8 version: 13.1.8
'@types/react-dom': '@types/react-dom':
specifier: 'catalog:' specifier: ^18
version: 18.3.0 version: 18.3.0
projects/app: projects/app:
...@@ -744,13 +738,13 @@ importers: ...@@ -744,13 +738,13 @@ importers:
specifier: ^1.5.4 specifier: ^1.5.4
version: 1.5.4 version: 1.5.4
react: react:
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
react-day-picker: react-day-picker:
specifier: ^8.7.1 specifier: ^8.7.1
version: 8.10.1(date-fns@3.6.0)(react@18.3.1) version: 8.10.1(date-fns@3.6.0)(react@18.3.1)
react-dom: react-dom:
specifier: 'catalog:' specifier: ^18
version: 18.3.1(react@18.3.1) version: 18.3.1(react@18.3.1)
react-hook-form: react-hook-form:
specifier: 7.43.1 specifier: 7.43.1
...@@ -832,10 +826,10 @@ importers: ...@@ -832,10 +826,10 @@ importers:
specifier: ^1.5.5 specifier: ^1.5.5
version: 1.5.5 version: 1.5.5
'@types/react': '@types/react':
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
'@types/react-dom': '@types/react-dom':
specifier: 'catalog:' specifier: ^18
version: 18.3.0 version: 18.3.0
'@types/react-syntax-highlighter': '@types/react-syntax-highlighter':
specifier: ^15.5.6 specifier: ^15.5.6
...@@ -916,10 +910,10 @@ importers: ...@@ -916,10 +910,10 @@ importers:
specifier: 'catalog:' specifier: 'catalog:'
version: 15.4.2(i18next@23.16.8)(next@16.1.6(@babel/core@7.26.10)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.85.1))(react-i18next@14.1.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) version: 15.4.2(i18next@23.16.8)(next@16.1.6(@babel/core@7.26.10)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.85.1))(react-i18next@14.1.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
react: react:
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
react-dom: react-dom:
specifier: 'catalog:' specifier: ^18
version: 18.3.1(react@18.3.1) version: 18.3.1(react@18.3.1)
react-i18next: react-i18next:
specifier: 'catalog:' specifier: 'catalog:'
...@@ -935,10 +929,10 @@ importers: ...@@ -935,10 +929,10 @@ importers:
specifier: ^20 specifier: ^20
version: 20.17.24 version: 20.17.24
'@types/react': '@types/react':
specifier: 'catalog:' specifier: ^18
version: 18.3.1 version: 18.3.1
'@types/react-dom': '@types/react-dom':
specifier: 'catalog:' specifier: ^18
version: 18.3.0 version: 18.3.0
eslint: eslint:
specifier: 'catalog:' specifier: 'catalog:'
...@@ -1937,24 +1931,24 @@ packages: ...@@ -1937,24 +1931,24 @@ packages:
'@chakra-ui/color-mode@2.2.0': '@chakra-ui/color-mode@2.2.0':
resolution: {integrity: sha512-niTEA8PALtMWRI9wJ4LL0CSBDo8NBfLNp4GD6/0hstcm3IlbBHTVKxN6HwSaoNYfphDQLxCjT4yG+0BJA5tFpg==} resolution: {integrity: sha512-niTEA8PALtMWRI9wJ4LL0CSBDo8NBfLNp4GD6/0hstcm3IlbBHTVKxN6HwSaoNYfphDQLxCjT4yG+0BJA5tFpg==}
peerDependencies: peerDependencies:
react: '>=18' react: ^18
'@chakra-ui/hooks@2.4.4': '@chakra-ui/hooks@2.4.4':
resolution: {integrity: sha512-+gMwLIkabtddIL/GICU7JmnYtvfONP+fNiTfdYLV9/I1eyCz8igKgLmFJOGM6F+BpUev6hh+/+DX5ezGQ9VTbQ==} resolution: {integrity: sha512-+gMwLIkabtddIL/GICU7JmnYtvfONP+fNiTfdYLV9/I1eyCz8igKgLmFJOGM6F+BpUev6hh+/+DX5ezGQ9VTbQ==}
peerDependencies: peerDependencies:
react: '>=18' react: ^18
'@chakra-ui/icon@3.2.0': '@chakra-ui/icon@3.2.0':
resolution: {integrity: sha512-xxjGLvlX2Ys4H0iHrI16t74rG9EBcpFvJ3Y3B7KMQTrnW34Kf7Da/UC8J67Gtx85mTHW020ml85SVPKORWNNKQ==} resolution: {integrity: sha512-xxjGLvlX2Ys4H0iHrI16t74rG9EBcpFvJ3Y3B7KMQTrnW34Kf7Da/UC8J67Gtx85mTHW020ml85SVPKORWNNKQ==}
peerDependencies: peerDependencies:
'@chakra-ui/system': '>=2.0.0' '@chakra-ui/system': '>=2.0.0'
react: '>=18' react: ^18
'@chakra-ui/icons@2.1.1': '@chakra-ui/icons@2.1.1':
resolution: {integrity: sha512-3p30hdo4LlRZTT5CwoAJq3G9fHI0wDc0pBaMHj4SUn0yomO+RcDRlzhdXqdr5cVnzax44sqXJVnf3oQG0eI+4g==} resolution: {integrity: sha512-3p30hdo4LlRZTT5CwoAJq3G9fHI0wDc0pBaMHj4SUn0yomO+RcDRlzhdXqdr5cVnzax44sqXJVnf3oQG0eI+4g==}
peerDependencies: peerDependencies:
'@chakra-ui/system': '>=2.0.0' '@chakra-ui/system': '>=2.0.0'
react: '>=18' react: ^18
'@chakra-ui/next-js@2.4.2': '@chakra-ui/next-js@2.4.2':
resolution: {integrity: sha512-loo82RyPbMyvJwRhhZVZovut9v2hFBSkqd1vQoNXgMrCRApLwrrttu5Iuodns15gLE3mqI+it5oEhxTtO5DrxA==} resolution: {integrity: sha512-loo82RyPbMyvJwRhhZVZovut9v2hFBSkqd1vQoNXgMrCRApLwrrttu5Iuodns15gLE3mqI+it5oEhxTtO5DrxA==}
...@@ -1962,7 +1956,7 @@ packages: ...@@ -1962,7 +1956,7 @@ packages:
'@chakra-ui/react': '>=2.4.0' '@chakra-ui/react': '>=2.4.0'
'@emotion/react': '>=11' '@emotion/react': '>=11'
next: '>=13' next: '>=13'
react: '>=18' react: ^18
'@chakra-ui/object-utils@2.1.0': '@chakra-ui/object-utils@2.1.0':
resolution: {integrity: sha512-tgIZOgLHaoti5PYGPTwK3t/cqtcycW0owaiOXoZOcpwwX/vlVb+H1jFsQyWiiwQVPt9RkoSLtxzXamx+aHH+bQ==} resolution: {integrity: sha512-tgIZOgLHaoti5PYGPTwK3t/cqtcycW0owaiOXoZOcpwwX/vlVb+H1jFsQyWiiwQVPt9RkoSLtxzXamx+aHH+bQ==}
...@@ -1970,12 +1964,12 @@ packages: ...@@ -1970,12 +1964,12 @@ packages:
'@chakra-ui/react-use-safe-layout-effect@2.1.0': '@chakra-ui/react-use-safe-layout-effect@2.1.0':
resolution: {integrity: sha512-Knbrrx/bcPwVS1TorFdzrK/zWA8yuU/eaXDkNj24IrKoRlQrSBFarcgAEzlCHtzuhufP3OULPkELTzz91b0tCw==} resolution: {integrity: sha512-Knbrrx/bcPwVS1TorFdzrK/zWA8yuU/eaXDkNj24IrKoRlQrSBFarcgAEzlCHtzuhufP3OULPkELTzz91b0tCw==}
peerDependencies: peerDependencies:
react: '>=18' react: ^18
'@chakra-ui/react-utils@2.0.12': '@chakra-ui/react-utils@2.0.12':
resolution: {integrity: sha512-GbSfVb283+YA3kA8w8xWmzbjNWk14uhNpntnipHCftBibl0lxtQ9YqMFQLwuFOO0U2gYVocszqqDWX+XNKq9hw==} resolution: {integrity: sha512-GbSfVb283+YA3kA8w8xWmzbjNWk14uhNpntnipHCftBibl0lxtQ9YqMFQLwuFOO0U2gYVocszqqDWX+XNKq9hw==}
peerDependencies: peerDependencies:
react: '>=18' react: ^18
'@chakra-ui/react@2.10.7': '@chakra-ui/react@2.10.7':
resolution: {integrity: sha512-GX1dCmnvrxxyZEofDX9GMAtRakZJKnUqFM9k8qhaycPaeyfkiTNNTjhPNX917hgVx1yhC3kcJOs5IeC7yW56/g==} resolution: {integrity: sha512-GX1dCmnvrxxyZEofDX9GMAtRakZJKnUqFM9k8qhaycPaeyfkiTNNTjhPNX917hgVx1yhC3kcJOs5IeC7yW56/g==}
...@@ -1983,8 +1977,8 @@ packages: ...@@ -1983,8 +1977,8 @@ packages:
'@emotion/react': '>=11' '@emotion/react': '>=11'
'@emotion/styled': '>=11' '@emotion/styled': '>=11'
framer-motion: '>=4.0.0' framer-motion: '>=4.0.0'
react: '>=18' react: ^18
react-dom: '>=18' react-dom: ^18
'@chakra-ui/shared-utils@2.0.5': '@chakra-ui/shared-utils@2.0.5':
resolution: {integrity: sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==} resolution: {integrity: sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==}
...@@ -2000,7 +1994,7 @@ packages: ...@@ -2000,7 +1994,7 @@ packages:
peerDependencies: peerDependencies:
'@emotion/react': ^11.0.0 '@emotion/react': ^11.0.0
'@emotion/styled': ^11.0.0 '@emotion/styled': ^11.0.0
react: '>=18' react: ^18
'@chakra-ui/theme-tools@2.1.1': '@chakra-ui/theme-tools@2.1.1':
resolution: {integrity: sha512-n14L5L3ej3Zy+Xm/kDKO1G6/DkmieT7Li1C7NzMRcUj5C9YybQpyo7IZZ0BBUh3u+OVnKVhNC3d4P2NYDGRXmA==} resolution: {integrity: sha512-n14L5L3ej3Zy+Xm/kDKO1G6/DkmieT7Li1C7NzMRcUj5C9YybQpyo7IZZ0BBUh3u+OVnKVhNC3d4P2NYDGRXmA==}
...@@ -2031,7 +2025,7 @@ packages: ...@@ -2031,7 +2025,7 @@ packages:
'@chakra-ui/utils@2.2.4': '@chakra-ui/utils@2.2.4':
resolution: {integrity: sha512-nRpR9SnX7aLcJx7lKu8kgQWxdJso1oR/78HcBI+mzidvWdTykbTGdm5Q2R7S0PVH1IFBzBTgi6TiAjHvu96auA==} resolution: {integrity: sha512-nRpR9SnX7aLcJx7lKu8kgQWxdJso1oR/78HcBI+mzidvWdTykbTGdm5Q2R7S0PVH1IFBzBTgi6TiAjHvu96auA==}
peerDependencies: peerDependencies:
react: '>=16.8.0' react: ^18
'@codemirror/autocomplete@6.19.0': '@codemirror/autocomplete@6.19.0':
resolution: {integrity: sha512-61Hfv3cF07XvUxNeC3E7jhG8XNi1Yom1G0lRC936oLnlF+jrbrv8rc/J98XlYzcsAoTVupfsf5fLej1aI8kyIg==} resolution: {integrity: sha512-61Hfv3cF07XvUxNeC3E7jhG8XNi1Yom1G0lRC936oLnlF+jrbrv8rc/J98XlYzcsAoTVupfsf5fLej1aI8kyIg==}
...@@ -2151,7 +2145,7 @@ packages: ...@@ -2151,7 +2145,7 @@ packages:
resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': '*'
react: '>=16.8.0' react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -2167,7 +2161,7 @@ packages: ...@@ -2167,7 +2161,7 @@ packages:
peerDependencies: peerDependencies:
'@emotion/react': ^11.0.0-rc.0 '@emotion/react': ^11.0.0-rc.0
'@types/react': '*' '@types/react': '*'
react: '>=16.8.0' react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -2178,7 +2172,7 @@ packages: ...@@ -2178,7 +2172,7 @@ packages:
'@emotion/use-insertion-effect-with-fallbacks@1.2.0': '@emotion/use-insertion-effect-with-fallbacks@1.2.0':
resolution: {integrity: sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==} resolution: {integrity: sha512-yJMtVdH59sxi/aVJBpk9FQq+OR8ll5GT8oWd57UpeaKEVGab41JWaCFA7FRLoMLloOZF/c/wsPoe+bfGmRKgDg==}
peerDependencies: peerDependencies:
react: '>=16.8.0' react: ^18
'@emotion/utils@1.4.2': '@emotion/utils@1.4.2':
resolution: {integrity: sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==} resolution: {integrity: sha512-3vLclRofFziIa3J2wDh9jjbkUz9qk5Vi3IZ/FSTKViB0k+ef0fPV7dYrUIugbgupYDx7v9ud/SjrtEP8Y4xLoA==}
...@@ -2773,89 +2767,105 @@ packages: ...@@ -2773,89 +2767,105 @@ packages:
resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==} resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linux-arm@1.2.4': '@img/sharp-libvips-linux-arm@1.2.4':
resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==} resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linux-ppc64@1.2.4': '@img/sharp-libvips-linux-ppc64@1.2.4':
resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==} resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linux-riscv64@1.2.4': '@img/sharp-libvips-linux-riscv64@1.2.4':
resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==} resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linux-s390x@1.2.4': '@img/sharp-libvips-linux-s390x@1.2.4':
resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==} resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linux-x64@1.2.4': '@img/sharp-libvips-linux-x64@1.2.4':
resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==} resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-libvips-linuxmusl-arm64@1.2.4': '@img/sharp-libvips-linuxmusl-arm64@1.2.4':
resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==} resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@img/sharp-libvips-linuxmusl-x64@1.2.4': '@img/sharp-libvips-linuxmusl-x64@1.2.4':
resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==} resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@img/sharp-linux-arm64@0.34.5': '@img/sharp-linux-arm64@0.34.5':
resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==} resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linux-arm@0.34.5': '@img/sharp-linux-arm@0.34.5':
resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==} resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linux-ppc64@0.34.5': '@img/sharp-linux-ppc64@0.34.5':
resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==} resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linux-riscv64@0.34.5': '@img/sharp-linux-riscv64@0.34.5':
resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==} resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linux-s390x@0.34.5': '@img/sharp-linux-s390x@0.34.5':
resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==} resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linux-x64@0.34.5': '@img/sharp-linux-x64@0.34.5':
resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==} resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@img/sharp-linuxmusl-arm64@0.34.5': '@img/sharp-linuxmusl-arm64@0.34.5':
resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==} resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@img/sharp-linuxmusl-x64@0.34.5': '@img/sharp-linuxmusl-x64@0.34.5':
resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==} resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@img/sharp-wasm32@0.34.5': '@img/sharp-wasm32@0.34.5':
resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==} resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
...@@ -3026,8 +3036,8 @@ packages: ...@@ -3026,8 +3036,8 @@ packages:
resolution: {integrity: sha512-Pto4wsVwrnY94tzcCXP2kWukQejSRPDfwOPd+EFh8dUzj+L7fa9Pze2wVgCRZpEohwfbcgAdEsvmSbhz+yGkog==} resolution: {integrity: sha512-Pto4wsVwrnY94tzcCXP2kWukQejSRPDfwOPd+EFh8dUzj+L7fa9Pze2wVgCRZpEohwfbcgAdEsvmSbhz+yGkog==}
peerDependencies: peerDependencies:
lexical: 0.12.6 lexical: 0.12.6
react: '>=17.x' react: ^18
react-dom: '>=17.x' react-dom: ^18
'@lexical/rich-text@0.12.6': '@lexical/rich-text@0.12.6':
resolution: {integrity: sha512-fRZHy2ug6Pq+pJK7trr9phTGaD2ba3If8o36dphOsl27MtUllpz68lcXL6mUonzJhAu4um1e9u7GFR3dLp+cVA==} resolution: {integrity: sha512-fRZHy2ug6Pq+pJK7trr9phTGaD2ba3If8o36dphOsl27MtUllpz68lcXL6mUonzJhAu4um1e9u7GFR3dLp+cVA==}
...@@ -3142,8 +3152,8 @@ packages: ...@@ -3142,8 +3152,8 @@ packages:
resolution: {integrity: sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==} resolution: {integrity: sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==}
peerDependencies: peerDependencies:
monaco-editor: '>= 0.25.0 < 1' monaco-editor: '>= 0.25.0 < 1'
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^18
'@mongodb-js/saslprep@1.2.0': '@mongodb-js/saslprep@1.2.0':
resolution: {integrity: sha512-+ywrb0AqkfaYuhHs6LxKWgqbh3I72EpEgESCw37o+9qPx9WTCkgDm2B+eMrwehGtHBWHFU4GXvnSCNiFhhausg==} resolution: {integrity: sha512-+ywrb0AqkfaYuhHs6LxKWgqbh3I72EpEgESCw37o+9qPx9WTCkgDm2B+eMrwehGtHBWHFU4GXvnSCNiFhhausg==}
...@@ -3207,30 +3217,35 @@ packages: ...@@ -3207,30 +3217,35 @@ packages:
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@napi-rs/canvas-linux-arm64-musl@0.1.69': '@napi-rs/canvas-linux-arm64-musl@0.1.69':
resolution: {integrity: sha512-a3xjNRIeK2m2ZORGv2moBvv3vbkaFZG1QKMeiEv/BKij+rkztuEhTJGMar+buICFgS0fLgphXXsKNkUSJb7eRQ==} resolution: {integrity: sha512-a3xjNRIeK2m2ZORGv2moBvv3vbkaFZG1QKMeiEv/BKij+rkztuEhTJGMar+buICFgS0fLgphXXsKNkUSJb7eRQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@napi-rs/canvas-linux-riscv64-gnu@0.1.69': '@napi-rs/canvas-linux-riscv64-gnu@0.1.69':
resolution: {integrity: sha512-pClUoJF5wdC9AvD0mc15G9JffL1Q85nuH1rLSQPRkGmGmQOtRjw5E9xNbanz7oFUiPbjH7xcAXUjVAcf7tdgPQ==} resolution: {integrity: sha512-pClUoJF5wdC9AvD0mc15G9JffL1Q85nuH1rLSQPRkGmGmQOtRjw5E9xNbanz7oFUiPbjH7xcAXUjVAcf7tdgPQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
libc: [glibc]
'@napi-rs/canvas-linux-x64-gnu@0.1.69': '@napi-rs/canvas-linux-x64-gnu@0.1.69':
resolution: {integrity: sha512-96X3bFAmzemfw84Ts6Jg/omL86uuynvK06MWGR/mp3JYNumY9RXofA14eF/kJIYelbYFWXcwpbcBR71lJ6G/YQ==} resolution: {integrity: sha512-96X3bFAmzemfw84Ts6Jg/omL86uuynvK06MWGR/mp3JYNumY9RXofA14eF/kJIYelbYFWXcwpbcBR71lJ6G/YQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@napi-rs/canvas-linux-x64-musl@0.1.69': '@napi-rs/canvas-linux-x64-musl@0.1.69':
resolution: {integrity: sha512-2QTsEFO72Kwkj53W9hc5y1FAUvdGx0V+pjJB+9oQF6Ys9+y989GyPIl5wZDzeh8nIJW6koZZ1eFa8pD+pA5BFQ==} resolution: {integrity: sha512-2QTsEFO72Kwkj53W9hc5y1FAUvdGx0V+pjJB+9oQF6Ys9+y989GyPIl5wZDzeh8nIJW6koZZ1eFa8pD+pA5BFQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@napi-rs/canvas-win32-x64-msvc@0.1.69': '@napi-rs/canvas-win32-x64-msvc@0.1.69':
resolution: {integrity: sha512-Q4YA8kVnKarApBVLu7F8icGlIfSll5Glswo5hY6gPS4Is2dCI8+ig9OeDM8RlwYevUIxKq8lZBypN8Q1iLAQ7w==} resolution: {integrity: sha512-Q4YA8kVnKarApBVLu7F8icGlIfSll5Glswo5hY6gPS4Is2dCI8+ig9OeDM8RlwYevUIxKq8lZBypN8Q1iLAQ7w==}
...@@ -3292,21 +3307,25 @@ packages: ...@@ -3292,21 +3307,25 @@ packages:
resolution: {integrity: sha512-af43QsBhRZ7kX/KjA9b5mrSLFMpRSuF7E2i9eBxrFkFpI2H4UCR0lSLcFmpkCnA/u2Q8a8KHhye88zDwUP8saQ==} resolution: {integrity: sha512-af43QsBhRZ7kX/KjA9b5mrSLFMpRSuF7E2i9eBxrFkFpI2H4UCR0lSLcFmpkCnA/u2Q8a8KHhye88zDwUP8saQ==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@next/rspack-binding-linux-arm64-musl@1.0.2': '@next/rspack-binding-linux-arm64-musl@1.0.2':
resolution: {integrity: sha512-ZuORUowizCrzoESLyUBGTzJjXyCixtdsTKp7EOLr2oLh2umzksm/e9Cm+iuy8qjkO+TFR1ny5L4YYCUOsYa+Kg==} resolution: {integrity: sha512-ZuORUowizCrzoESLyUBGTzJjXyCixtdsTKp7EOLr2oLh2umzksm/e9Cm+iuy8qjkO+TFR1ny5L4YYCUOsYa+Kg==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@next/rspack-binding-linux-x64-gnu@1.0.2': '@next/rspack-binding-linux-x64-gnu@1.0.2':
resolution: {integrity: sha512-Bv0DS+jUwL5fQxcC3DiE6MbfssDF//kJ5rOnNey8EcLReqpz+WPuJKTqRvyUtvx77Sg3o7yADS3UsSTrHKn6iQ==} resolution: {integrity: sha512-Bv0DS+jUwL5fQxcC3DiE6MbfssDF//kJ5rOnNey8EcLReqpz+WPuJKTqRvyUtvx77Sg3o7yADS3UsSTrHKn6iQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@next/rspack-binding-linux-x64-musl@1.0.2': '@next/rspack-binding-linux-x64-musl@1.0.2':
resolution: {integrity: sha512-wjLXX7XaCvd+ISRZHVOEa9FvXDX8KV0HPyNJuapUO150ho7kXt0ZfY9vGm/0UCO7X4hCgnGzsnBZOzYdgT/RqQ==} resolution: {integrity: sha512-wjLXX7XaCvd+ISRZHVOEa9FvXDX8KV0HPyNJuapUO150ho7kXt0ZfY9vGm/0UCO7X4hCgnGzsnBZOzYdgT/RqQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@next/rspack-binding-win32-arm64-msvc@1.0.2': '@next/rspack-binding-win32-arm64-msvc@1.0.2':
resolution: {integrity: sha512-OQ0Uv9ZbMB8BZFJP2n7dLIc4kjfr76J1JPCtPNB3/BvE2xpAIEcYmkwSP0GrVL/H+1xLMqLwblqt7xyc65hfuw==} resolution: {integrity: sha512-OQ0Uv9ZbMB8BZFJP2n7dLIc4kjfr76J1JPCtPNB3/BvE2xpAIEcYmkwSP0GrVL/H+1xLMqLwblqt7xyc65hfuw==}
...@@ -3346,24 +3365,28 @@ packages: ...@@ -3346,24 +3365,28 @@ packages:
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@next/swc-linux-arm64-musl@16.1.6': '@next/swc-linux-arm64-musl@16.1.6':
resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==} resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@next/swc-linux-x64-gnu@16.1.6': '@next/swc-linux-x64-gnu@16.1.6':
resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==} resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@next/swc-linux-x64-musl@16.1.6': '@next/swc-linux-x64-musl@16.1.6':
resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==} resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@next/swc-win32-arm64-msvc@16.1.6': '@next/swc-win32-arm64-msvc@16.1.6':
resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==} resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}
...@@ -3418,24 +3441,28 @@ packages: ...@@ -3418,24 +3441,28 @@ packages:
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@node-rs/jieba-linux-arm64-musl@2.0.1': '@node-rs/jieba-linux-arm64-musl@2.0.1':
resolution: {integrity: sha512-K4EDyNixSLVdTNYnHwD+7I/ytvzpo7tt+vdCLqwQViiek2PMpL/FFRvA39uU2tk99jXIxvkczdxARG20BRZppg==} resolution: {integrity: sha512-K4EDyNixSLVdTNYnHwD+7I/ytvzpo7tt+vdCLqwQViiek2PMpL/FFRvA39uU2tk99jXIxvkczdxARG20BRZppg==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@node-rs/jieba-linux-x64-gnu@2.0.1': '@node-rs/jieba-linux-x64-gnu@2.0.1':
resolution: {integrity: sha512-sq3J6L2ANTE25I9eVFq/nb57OtXcvUIeUD1CTKJxwgTKIVmcB2LyOZpWf20AjHRUfbMER9Klqg5dgyyO+Six+w==} resolution: {integrity: sha512-sq3J6L2ANTE25I9eVFq/nb57OtXcvUIeUD1CTKJxwgTKIVmcB2LyOZpWf20AjHRUfbMER9Klqg5dgyyO+Six+w==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@node-rs/jieba-linux-x64-musl@2.0.1': '@node-rs/jieba-linux-x64-musl@2.0.1':
resolution: {integrity: sha512-0zfP9Qy68yEXrhBFknfhF6WUJDPU/8eRuyIrkMGdMjfRpxhpSbr2fMfnsqhOQLvhuK4w3iDFvTy4t5d0s6JKMA==} resolution: {integrity: sha512-0zfP9Qy68yEXrhBFknfhF6WUJDPU/8eRuyIrkMGdMjfRpxhpSbr2fMfnsqhOQLvhuK4w3iDFvTy4t5d0s6JKMA==}
engines: {node: '>= 10'} engines: {node: '>= 10'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@node-rs/jieba-wasm32-wasi@2.0.1': '@node-rs/jieba-wasm32-wasi@2.0.1':
resolution: {integrity: sha512-7I5rJya5rlQNJIhv8PvPzIVT1/gVc0vFzHmlfRGwCPGDJ3tHVxkSPW34dDx3OgDmbIeadNpmgIyC1RaS9djPJg==} resolution: {integrity: sha512-7I5rJya5rlQNJIhv8PvPzIVT1/gVc0vFzHmlfRGwCPGDJ3tHVxkSPW34dDx3OgDmbIeadNpmgIyC1RaS9djPJg==}
...@@ -3629,21 +3656,25 @@ packages: ...@@ -3629,21 +3656,25 @@ packages:
resolution: {integrity: sha512-l/0pWoQM5kVmJLg4frQ1mKZOXgi0ex/hzvFt8E4WK2ifXr5JgKFUokxsb/oat7f5YzdJJh5r9p+qS/t3dA26Aw==} resolution: {integrity: sha512-l/0pWoQM5kVmJLg4frQ1mKZOXgi0ex/hzvFt8E4WK2ifXr5JgKFUokxsb/oat7f5YzdJJh5r9p+qS/t3dA26Aw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@oxc-resolver/binding-linux-arm64-musl@5.0.0': '@oxc-resolver/binding-linux-arm64-musl@5.0.0':
resolution: {integrity: sha512-bx0oz/oaAW4FGYqpIIxJCnmgb906YfMhTEWCJvYkxjpEI8VKLJEL3PQevYiqDq36SA0yRLJ/sQK2fqry8AFBfA==} resolution: {integrity: sha512-bx0oz/oaAW4FGYqpIIxJCnmgb906YfMhTEWCJvYkxjpEI8VKLJEL3PQevYiqDq36SA0yRLJ/sQK2fqry8AFBfA==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@oxc-resolver/binding-linux-x64-gnu@5.0.0': '@oxc-resolver/binding-linux-x64-gnu@5.0.0':
resolution: {integrity: sha512-4PH++qbSIhlRsFYdN1P9neDov4OGhTGo5nbQ1D7AL6gWFLo3gdZTc00FM2y8JjeTcPWEXkViZuwpuc0w5i6qHg==} resolution: {integrity: sha512-4PH++qbSIhlRsFYdN1P9neDov4OGhTGo5nbQ1D7AL6gWFLo3gdZTc00FM2y8JjeTcPWEXkViZuwpuc0w5i6qHg==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@oxc-resolver/binding-linux-x64-musl@5.0.0': '@oxc-resolver/binding-linux-x64-musl@5.0.0':
resolution: {integrity: sha512-mLfQFpX3/5y9oWi0b+9FbWDkL2hM0Y29653beCHiHxAdGyVgb2DsJbK74WkMTwtSz9by8vyBh8jGPZcg1yLZbQ==} resolution: {integrity: sha512-mLfQFpX3/5y9oWi0b+9FbWDkL2hM0Y29653beCHiHxAdGyVgb2DsJbK74WkMTwtSz9by8vyBh8jGPZcg1yLZbQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@oxc-resolver/binding-wasm32-wasi@5.0.0': '@oxc-resolver/binding-wasm32-wasi@5.0.0':
resolution: {integrity: sha512-uEhsAZSo65qsRi6+IfBTEUUFbjg7T2yruJeLYpFfEATpm3ory5Mgo5vx3L0c2/Cz1OUZXBgp3A8x6VMUB2jT2A==} resolution: {integrity: sha512-uEhsAZSo65qsRi6+IfBTEUUFbjg7T2yruJeLYpFfEATpm3ory5Mgo5vx3L0c2/Cz1OUZXBgp3A8x6VMUB2jT2A==}
...@@ -3689,36 +3720,42 @@ packages: ...@@ -3689,36 +3720,42 @@ packages:
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [glibc]
'@parcel/watcher-linux-arm-musl@2.5.1': '@parcel/watcher-linux-arm-musl@2.5.1':
resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==} resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [musl]
'@parcel/watcher-linux-arm64-glibc@2.5.1': '@parcel/watcher-linux-arm64-glibc@2.5.1':
resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==} resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@parcel/watcher-linux-arm64-musl@2.5.1': '@parcel/watcher-linux-arm64-musl@2.5.1':
resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==} resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@parcel/watcher-linux-x64-glibc@2.5.1': '@parcel/watcher-linux-x64-glibc@2.5.1':
resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==} resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@parcel/watcher-linux-x64-musl@2.5.1': '@parcel/watcher-linux-x64-musl@2.5.1':
resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==} resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
engines: {node: '>= 10.0.0'} engines: {node: '>= 10.0.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@parcel/watcher-win32-arm64@2.5.1': '@parcel/watcher-win32-arm64@2.5.1':
resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==} resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
...@@ -3806,38 +3843,38 @@ packages: ...@@ -3806,38 +3843,38 @@ packages:
'@reactflow/background@11.3.14': '@reactflow/background@11.3.14':
resolution: {integrity: sha512-Gewd7blEVT5Lh6jqrvOgd4G6Qk17eGKQfsDXgyRSqM+CTwDqRldG2LsWN4sNeno6sbqVIC2fZ+rAUBFA9ZEUDA==} resolution: {integrity: sha512-Gewd7blEVT5Lh6jqrvOgd4G6Qk17eGKQfsDXgyRSqM+CTwDqRldG2LsWN4sNeno6sbqVIC2fZ+rAUBFA9ZEUDA==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@reactflow/controls@11.2.14': '@reactflow/controls@11.2.14':
resolution: {integrity: sha512-MiJp5VldFD7FrqaBNIrQ85dxChrG6ivuZ+dcFhPQUwOK3HfYgX2RHdBua+gx+40p5Vw5It3dVNp/my4Z3jF0dw==} resolution: {integrity: sha512-MiJp5VldFD7FrqaBNIrQ85dxChrG6ivuZ+dcFhPQUwOK3HfYgX2RHdBua+gx+40p5Vw5It3dVNp/my4Z3jF0dw==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@reactflow/core@11.11.4': '@reactflow/core@11.11.4':
resolution: {integrity: sha512-H4vODklsjAq3AMq6Np4LE12i1I4Ta9PrDHuBR9GmL8uzTt2l2jh4CiQbEMpvMDcp7xi4be0hgXj+Ysodde/i7Q==} resolution: {integrity: sha512-H4vODklsjAq3AMq6Np4LE12i1I4Ta9PrDHuBR9GmL8uzTt2l2jh4CiQbEMpvMDcp7xi4be0hgXj+Ysodde/i7Q==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@reactflow/minimap@11.7.14': '@reactflow/minimap@11.7.14':
resolution: {integrity: sha512-mpwLKKrEAofgFJdkhwR5UQ1JYWlcAAL/ZU/bctBkuNTT1yqV+y0buoNVImsRehVYhJwffSWeSHaBR5/GJjlCSQ==} resolution: {integrity: sha512-mpwLKKrEAofgFJdkhwR5UQ1JYWlcAAL/ZU/bctBkuNTT1yqV+y0buoNVImsRehVYhJwffSWeSHaBR5/GJjlCSQ==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@reactflow/node-resizer@2.2.14': '@reactflow/node-resizer@2.2.14':
resolution: {integrity: sha512-fwqnks83jUlYr6OHcdFEedumWKChTHRGw/kbCxj0oqBd+ekfs+SIp4ddyNU0pdx96JIm5iNFS0oNrmEiJbbSaA==} resolution: {integrity: sha512-fwqnks83jUlYr6OHcdFEedumWKChTHRGw/kbCxj0oqBd+ekfs+SIp4ddyNU0pdx96JIm5iNFS0oNrmEiJbbSaA==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@reactflow/node-toolbar@1.3.14': '@reactflow/node-toolbar@1.3.14':
resolution: {integrity: sha512-rbynXQnH/xFNu4P9H+hVqlEUafDCkEoCy0Dg9mG22Sg+rY/0ck6KkrAQrYrTgXusd+cEJOMK0uOOFCK2/5rSGQ==} resolution: {integrity: sha512-rbynXQnH/xFNu4P9H+hVqlEUafDCkEoCy0Dg9mG22Sg+rY/0ck6KkrAQrYrTgXusd+cEJOMK0uOOFCK2/5rSGQ==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
'@replit/codemirror-css-color-picker@6.3.0': '@replit/codemirror-css-color-picker@6.3.0':
resolution: {integrity: sha512-19biDANghUm7Fz7L1SNMIhK48tagaWuCOHj4oPPxc7hxPGkTVY2lU/jVZ8tsbTKQPVG7BO2CBDzs7CBwb20t4A==} resolution: {integrity: sha512-19biDANghUm7Fz7L1SNMIhK48tagaWuCOHj4oPPxc7hxPGkTVY2lU/jVZ8tsbTKQPVG7BO2CBDzs7CBwb20t4A==}
...@@ -3881,36 +3918,42 @@ packages: ...@@ -3881,36 +3918,42 @@ packages:
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@rolldown/binding-linux-arm64-musl@1.0.0-rc.7': '@rolldown/binding-linux-arm64-musl@1.0.0-rc.7':
resolution: {integrity: sha512-G43ZElEvaby+YSOgrXfBgpeQv42LdS0ivFFYQufk2tBDWeBfzE/+ob5DmO8Izbyn4Y8k6GgLF11jFDYNnmU/3w==} resolution: {integrity: sha512-G43ZElEvaby+YSOgrXfBgpeQv42LdS0ivFFYQufk2tBDWeBfzE/+ob5DmO8Izbyn4Y8k6GgLF11jFDYNnmU/3w==}
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.7': '@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.7':
resolution: {integrity: sha512-Y48ShVxGE2zUTt0A0PR3grCLNxW4DWtAfe5lxf6L3uYEQujwo/LGuRogMsAtOJeYLCPTJo2i714LOdnK34cHpw==} resolution: {integrity: sha512-Y48ShVxGE2zUTt0A0PR3grCLNxW4DWtAfe5lxf6L3uYEQujwo/LGuRogMsAtOJeYLCPTJo2i714LOdnK34cHpw==}
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
libc: [glibc]
'@rolldown/binding-linux-s390x-gnu@1.0.0-rc.7': '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.7':
resolution: {integrity: sha512-KU5DUYvX3qI8/TX6D3RA4awXi4Ge/1+M6Jqv7kRiUndpqoVGgD765xhV3Q6QvtABnYjLJenrWDl3S1B5U56ixA==} resolution: {integrity: sha512-KU5DUYvX3qI8/TX6D3RA4awXi4Ge/1+M6Jqv7kRiUndpqoVGgD765xhV3Q6QvtABnYjLJenrWDl3S1B5U56ixA==}
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
libc: [glibc]
'@rolldown/binding-linux-x64-gnu@1.0.0-rc.7': '@rolldown/binding-linux-x64-gnu@1.0.0-rc.7':
resolution: {integrity: sha512-1THb6FdBkAEL12zvUue2bmK4W1+P+tz8Pgu5uEzq+xrtYa3iBzmmKNlyfUzCFNCqsPd8WJEQrYdLcw4iMW4AVw==} resolution: {integrity: sha512-1THb6FdBkAEL12zvUue2bmK4W1+P+tz8Pgu5uEzq+xrtYa3iBzmmKNlyfUzCFNCqsPd8WJEQrYdLcw4iMW4AVw==}
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@rolldown/binding-linux-x64-musl@1.0.0-rc.7': '@rolldown/binding-linux-x64-musl@1.0.0-rc.7':
resolution: {integrity: sha512-12o73atFNWDgYnLyA52QEUn9AH8pHIe12W28cmqjyHt4bIEYRzMICvYVCPa2IQm6DJBvCBrEhD9K+ct4wr2hwg==} resolution: {integrity: sha512-12o73atFNWDgYnLyA52QEUn9AH8pHIe12W28cmqjyHt4bIEYRzMICvYVCPa2IQm6DJBvCBrEhD9K+ct4wr2hwg==}
engines: {node: ^20.19.0 || >=22.12.0} engines: {node: ^20.19.0 || >=22.12.0}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@rolldown/binding-openharmony-arm64@1.0.0-rc.7': '@rolldown/binding-openharmony-arm64@1.0.0-rc.7':
resolution: {integrity: sha512-+uUgGwvuUCXl894MTsmTS2J0BnCZccFsmzV7y1jFxW5pTSxkuwL5agyPuDvDOztPeS6RrdqWkn7sT0jRd0ECkg==} resolution: {integrity: sha512-+uUgGwvuUCXl894MTsmTS2J0BnCZccFsmzV7y1jFxW5pTSxkuwL5agyPuDvDOztPeS6RrdqWkn7sT0jRd0ECkg==}
...@@ -3972,51 +4015,61 @@ packages: ...@@ -3972,51 +4015,61 @@ packages:
resolution: {integrity: sha512-mrA0v3QMy6ZSvEuLs0dMxcO2LnaCONs1Z73GUDBHWbY8tFFocM6yl7YyMu7rz4zS81NDSqhrUuolyZXGi8TEqg==} resolution: {integrity: sha512-mrA0v3QMy6ZSvEuLs0dMxcO2LnaCONs1Z73GUDBHWbY8tFFocM6yl7YyMu7rz4zS81NDSqhrUuolyZXGi8TEqg==}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm-musleabihf@4.35.0': '@rollup/rollup-linux-arm-musleabihf@4.35.0':
resolution: {integrity: sha512-DnYhhzcvTAKNexIql8pFajr0PiDGrIsBYPRvCKlA5ixSS3uwo/CWNZxB09jhIapEIg945KOzcYEAGGSmTSpk7A==} resolution: {integrity: sha512-DnYhhzcvTAKNexIql8pFajr0PiDGrIsBYPRvCKlA5ixSS3uwo/CWNZxB09jhIapEIg945KOzcYEAGGSmTSpk7A==}
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
libc: [musl]
'@rollup/rollup-linux-arm64-gnu@4.35.0': '@rollup/rollup-linux-arm64-gnu@4.35.0':
resolution: {integrity: sha512-uagpnH2M2g2b5iLsCTZ35CL1FgyuzzJQ8L9VtlJ+FckBXroTwNOaD0z0/UF+k5K3aNQjbm8LIVpxykUOQt1m/A==} resolution: {integrity: sha512-uagpnH2M2g2b5iLsCTZ35CL1FgyuzzJQ8L9VtlJ+FckBXroTwNOaD0z0/UF+k5K3aNQjbm8LIVpxykUOQt1m/A==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-arm64-musl@4.35.0': '@rollup/rollup-linux-arm64-musl@4.35.0':
resolution: {integrity: sha512-XQxVOCd6VJeHQA/7YcqyV0/88N6ysSVzRjJ9I9UA/xXpEsjvAgDTgH3wQYz5bmr7SPtVK2TsP2fQ2N9L4ukoUg==} resolution: {integrity: sha512-XQxVOCd6VJeHQA/7YcqyV0/88N6ysSVzRjJ9I9UA/xXpEsjvAgDTgH3wQYz5bmr7SPtVK2TsP2fQ2N9L4ukoUg==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@rollup/rollup-linux-loongarch64-gnu@4.35.0': '@rollup/rollup-linux-loongarch64-gnu@4.35.0':
resolution: {integrity: sha512-5pMT5PzfgwcXEwOaSrqVsz/LvjDZt+vQ8RT/70yhPU06PTuq8WaHhfT1LW+cdD7mW6i/J5/XIkX/1tCAkh1W6g==} resolution: {integrity: sha512-5pMT5PzfgwcXEwOaSrqVsz/LvjDZt+vQ8RT/70yhPU06PTuq8WaHhfT1LW+cdD7mW6i/J5/XIkX/1tCAkh1W6g==}
cpu: [loong64] cpu: [loong64]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-powerpc64le-gnu@4.35.0': '@rollup/rollup-linux-powerpc64le-gnu@4.35.0':
resolution: {integrity: sha512-c+zkcvbhbXF98f4CtEIP1EBA/lCic5xB0lToneZYvMeKu5Kamq3O8gqrxiYYLzlZH6E3Aq+TSW86E4ay8iD8EA==} resolution: {integrity: sha512-c+zkcvbhbXF98f4CtEIP1EBA/lCic5xB0lToneZYvMeKu5Kamq3O8gqrxiYYLzlZH6E3Aq+TSW86E4ay8iD8EA==}
cpu: [ppc64] cpu: [ppc64]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-riscv64-gnu@4.35.0': '@rollup/rollup-linux-riscv64-gnu@4.35.0':
resolution: {integrity: sha512-s91fuAHdOwH/Tad2tzTtPX7UZyytHIRR6V4+2IGlV0Cej5rkG0R61SX4l4y9sh0JBibMiploZx3oHKPnQBKe4g==} resolution: {integrity: sha512-s91fuAHdOwH/Tad2tzTtPX7UZyytHIRR6V4+2IGlV0Cej5rkG0R61SX4l4y9sh0JBibMiploZx3oHKPnQBKe4g==}
cpu: [riscv64] cpu: [riscv64]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-s390x-gnu@4.35.0': '@rollup/rollup-linux-s390x-gnu@4.35.0':
resolution: {integrity: sha512-hQRkPQPLYJZYGP+Hj4fR9dDBMIM7zrzJDWFEMPdTnTy95Ljnv0/4w/ixFw3pTBMEuuEuoqtBINYND4M7ujcuQw==} resolution: {integrity: sha512-hQRkPQPLYJZYGP+Hj4fR9dDBMIM7zrzJDWFEMPdTnTy95Ljnv0/4w/ixFw3pTBMEuuEuoqtBINYND4M7ujcuQw==}
cpu: [s390x] cpu: [s390x]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-gnu@4.35.0': '@rollup/rollup-linux-x64-gnu@4.35.0':
resolution: {integrity: sha512-Pim1T8rXOri+0HmV4CdKSGrqcBWX0d1HoPnQ0uw0bdp1aP5SdQVNBy8LjYncvnLgu3fnnCt17xjWGd4cqh8/hA==} resolution: {integrity: sha512-Pim1T8rXOri+0HmV4CdKSGrqcBWX0d1HoPnQ0uw0bdp1aP5SdQVNBy8LjYncvnLgu3fnnCt17xjWGd4cqh8/hA==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@rollup/rollup-linux-x64-musl@4.35.0': '@rollup/rollup-linux-x64-musl@4.35.0':
resolution: {integrity: sha512-QysqXzYiDvQWfUiTm8XmJNO2zm9yC9P/2Gkrwg2dH9cxotQzunBHYr6jk4SujCTqnfGxduOmQcI7c2ryuW8XVg==} resolution: {integrity: sha512-QysqXzYiDvQWfUiTm8XmJNO2zm9yC9P/2Gkrwg2dH9cxotQzunBHYr6jk4SujCTqnfGxduOmQcI7c2ryuW8XVg==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@rollup/rollup-win32-arm64-msvc@4.35.0': '@rollup/rollup-win32-arm64-msvc@4.35.0':
resolution: {integrity: sha512-OUOlGqPkVJCdJETKOCEf1mw848ZyJ5w50/rZ/3IBQVdLfR5jk/6Sr5m3iO2tdPgwo0x7VcncYuOvMhBWZq8ayg==} resolution: {integrity: sha512-OUOlGqPkVJCdJETKOCEf1mw848ZyJ5w50/rZ/3IBQVdLfR5jk/6Sr5m3iO2tdPgwo0x7VcncYuOvMhBWZq8ayg==}
...@@ -4047,21 +4100,25 @@ packages: ...@@ -4047,21 +4100,25 @@ packages:
resolution: {integrity: sha512-211/XoBiooGGgUo/NxNpsrzGUXtH1d7g/4+UTtjYtfc8QHwu7ZMHcsqg0wss53fXzn/yyxd0DZ56vBHq52BiFw==} resolution: {integrity: sha512-211/XoBiooGGgUo/NxNpsrzGUXtH1d7g/4+UTtjYtfc8QHwu7ZMHcsqg0wss53fXzn/yyxd0DZ56vBHq52BiFw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
'@rspack/binding-linux-arm64-musl@1.6.7': '@rspack/binding-linux-arm64-musl@1.6.7':
resolution: {integrity: sha512-0WnqAWz3WPDsXGvOOA++or7cHpoidVsH3FlqNaAfRu6ni6n7ig/s0/jKUB+C5FtXOgmGjAGkZHfFgNHsvZ0FWw==} resolution: {integrity: sha512-0WnqAWz3WPDsXGvOOA++or7cHpoidVsH3FlqNaAfRu6ni6n7ig/s0/jKUB+C5FtXOgmGjAGkZHfFgNHsvZ0FWw==}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
'@rspack/binding-linux-x64-gnu@1.6.7': '@rspack/binding-linux-x64-gnu@1.6.7':
resolution: {integrity: sha512-iMrE0Q4IuYpkE0MjpaOVaUDYbQFiCRI9D3EPoXzlXJj4kJSdNheODpHTBVRlWt8Xp7UAoWuIFXCvKFKcSMm3aQ==} resolution: {integrity: sha512-iMrE0Q4IuYpkE0MjpaOVaUDYbQFiCRI9D3EPoXzlXJj4kJSdNheODpHTBVRlWt8Xp7UAoWuIFXCvKFKcSMm3aQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
'@rspack/binding-linux-x64-musl@1.6.7': '@rspack/binding-linux-x64-musl@1.6.7':
resolution: {integrity: sha512-e7gKFxpdEQwYGk7lTC/hukTgNtaoAstBXehnZNk4k3kuU6+86WDrkn18Cd949iNqfIPtIG/wIsFNGbkHsH69hQ==} resolution: {integrity: sha512-e7gKFxpdEQwYGk7lTC/hukTgNtaoAstBXehnZNk4k3kuU6+86WDrkn18Cd949iNqfIPtIG/wIsFNGbkHsH69hQ==}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
'@rspack/binding-wasm32-wasi@1.6.7': '@rspack/binding-wasm32-wasi@1.6.7':
resolution: {integrity: sha512-yx88EFdE9RP3hh7VhjjW6uc6wGU0KcpOcZp8T8E/a+X8L98fX0aVrtM1IDbndhmdluIMqGbfJNap2+QqOCY9Mw==} resolution: {integrity: sha512-yx88EFdE9RP3hh7VhjjW6uc6wGU0KcpOcZp8T8E/a+X8L98fX0aVrtM1IDbndhmdluIMqGbfJNap2+QqOCY9Mw==}
...@@ -4115,7 +4172,7 @@ packages: ...@@ -4115,7 +4172,7 @@ packages:
resolution: {integrity: sha512-krkNq5cZLD4IEtVto5KbektfRhVTR/ZwiGq+KGOhnXlv/0kFKdkccw6WXPnzq+gXZTYNJxFcrDn60Dj3ilXQrg==} resolution: {integrity: sha512-krkNq5cZLD4IEtVto5KbektfRhVTR/ZwiGq+KGOhnXlv/0kFKdkccw6WXPnzq+gXZTYNJxFcrDn60Dj3ilXQrg==}
engines: {node: '>=20'} engines: {node: '>=20'}
peerDependencies: peerDependencies:
react: ^18.0.0 || ^19.0.0 react: ^18
'@scalar/api-reference@1.38.1': '@scalar/api-reference@1.38.1':
resolution: {integrity: sha512-1r0o1BBhfOpOI2ZTvcDffNkljL4gpzyB1prBZ1wRZ3fY1lkIdAUHzIDj+lCYL+uj0RYVJFOIWvJpmpCBW6KmIg==} resolution: {integrity: sha512-1r0o1BBhfOpOI2ZTvcDffNkljL4gpzyB1prBZ1wRZ3fY1lkIdAUHzIDj+lCYL+uj0RYVJFOIWvJpmpCBW6KmIg==}
...@@ -4541,8 +4598,8 @@ packages: ...@@ -4541,8 +4598,8 @@ packages:
'@tanstack/react-query@4.36.1': '@tanstack/react-query@4.36.1':
resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==} resolution: {integrity: sha512-y7ySVHFyyQblPl3J3eQBWpXZkliroki3ARnBKsdJchlgt7yJLRDUcf4B8soufgiYt3pEQIkBWBx1N9/ZPIeUWw==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 react: ^18
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^18
react-native: '*' react-native: '*'
peerDependenciesMeta: peerDependenciesMeta:
react-dom: react-dom:
...@@ -5241,8 +5298,8 @@ packages: ...@@ -5241,8 +5298,8 @@ packages:
resolution: {integrity: sha512-TrjXie49Q8HuHKTa84Fm9A+famMDAG1+7a9S9Gq6RQ0h90Jgqmiq3CkObuRjWT/C4d6nRZCw35Y2k2fmybb5eA==} resolution: {integrity: sha512-TrjXie49Q8HuHKTa84Fm9A+famMDAG1+7a9S9Gq6RQ0h90Jgqmiq3CkObuRjWT/C4d6nRZCw35Y2k2fmybb5eA==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^18
ajv-draft-04@1.0.0: ajv-draft-04@1.0.0:
resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==}
...@@ -7061,8 +7118,8 @@ packages: ...@@ -7061,8 +7118,8 @@ packages:
framer-motion@9.1.7: framer-motion@9.1.7:
resolution: {integrity: sha512-nKxBkIO4IPkMEqcBbbATxsVjwPYShKl051yhBv9628iAH6JLeHD0siBHxkL62oQzMC1+GNX73XtPjgP753ufuw==} resolution: {integrity: sha512-nKxBkIO4IPkMEqcBbbATxsVjwPYShKl051yhBv9628iAH6JLeHD0siBHxkL62oQzMC1+GNX73XtPjgP753ufuw==}
peerDependencies: peerDependencies:
react: ^18.0.0 react: ^18
react-dom: ^18.0.0 react-dom: ^18
framesync@6.1.2: framesync@6.1.2:
resolution: {integrity: sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==} resolution: {integrity: sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==}
...@@ -8033,7 +8090,7 @@ packages: ...@@ -8033,7 +8090,7 @@ packages:
resolution: {integrity: sha512-99nmbZ2DVwqYiqSVgH8lF9UoM7glIYSdG3WzE3Z2nZbJKoFyZPvRRk7Czq05b32nqcAALwzk3zqVOZmDIn1rqQ==} resolution: {integrity: sha512-99nmbZ2DVwqYiqSVgH8lF9UoM7glIYSdG3WzE3Z2nZbJKoFyZPvRRk7Czq05b32nqcAALwzk3zqVOZmDIn1rqQ==}
engines: {node: '>=18'} engines: {node: '>=18'}
peerDependencies: peerDependencies:
react: ^18 || ^19 react: ^18
peerDependenciesMeta: peerDependenciesMeta:
react: react:
optional: true optional: true
...@@ -8108,24 +8165,28 @@ packages: ...@@ -8108,24 +8165,28 @@ packages:
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [glibc]
lightningcss-linux-arm64-musl@1.30.1: lightningcss-linux-arm64-musl@1.30.1:
resolution: {integrity: sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==} resolution: {integrity: sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==}
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
libc: [musl]
lightningcss-linux-x64-gnu@1.30.1: lightningcss-linux-x64-gnu@1.30.1:
resolution: {integrity: sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==} resolution: {integrity: sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==}
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [glibc]
lightningcss-linux-x64-musl@1.30.1: lightningcss-linux-x64-musl@1.30.1:
resolution: {integrity: sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==} resolution: {integrity: sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==}
engines: {node: '>= 12.0.0'} engines: {node: '>= 12.0.0'}
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
libc: [musl]
lightningcss-win32-arm64-msvc@1.30.1: lightningcss-win32-arm64-msvc@1.30.1:
resolution: {integrity: sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==} resolution: {integrity: sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==}
...@@ -8823,7 +8884,7 @@ packages: ...@@ -8823,7 +8884,7 @@ packages:
peerDependencies: peerDependencies:
i18next: '>= 23.7.13' i18next: '>= 23.7.13'
next: '>= 12.0.0' next: '>= 12.0.0'
react: '>= 17.0.2' react: ^18
react-i18next: '>= 13.5.0' react-i18next: '>= 13.5.0'
next-rspack@16.1.6: next-rspack@16.1.6:
...@@ -8837,8 +8898,8 @@ packages: ...@@ -8837,8 +8898,8 @@ packages:
'@opentelemetry/api': ^1.1.0 '@opentelemetry/api': ^1.1.0
'@playwright/test': ^1.51.1 '@playwright/test': ^1.51.1
babel-plugin-react-compiler: '*' babel-plugin-react-compiler: '*'
react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 react: ^18
react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 react-dom: ^18
sass: ^1.3.0 sass: ^1.3.0
peerDependenciesMeta: peerDependenciesMeta:
'@opentelemetry/api': '@opentelemetry/api':
...@@ -9576,30 +9637,30 @@ packages: ...@@ -9576,30 +9637,30 @@ packages:
resolution: {integrity: sha512-0Lvs4tq2VcrEjEgDXHjT98r+63drkKEgqyxdA7qD3mvKwga6a5SscbdLPO2IExotU1jW8L0Ksdl0Cj2AF67nPQ==} resolution: {integrity: sha512-0Lvs4tq2VcrEjEgDXHjT98r+63drkKEgqyxdA7qD3mvKwga6a5SscbdLPO2IExotU1jW8L0Ksdl0Cj2AF67nPQ==}
deprecated: 'react-beautiful-dnd is now deprecated. Context and options: https://github.com/atlassian/react-beautiful-dnd/issues/2672' deprecated: 'react-beautiful-dnd is now deprecated. Context and options: https://github.com/atlassian/react-beautiful-dnd/issues/2672'
peerDependencies: peerDependencies:
react: ^16.8.5 || ^17.0.0 || ^18.0.0 react: ^18
react-dom: ^16.8.5 || ^17.0.0 || ^18.0.0 react-dom: ^18
react-clientside-effect@1.2.7: react-clientside-effect@1.2.7:
resolution: {integrity: sha512-gce9m0Pk/xYYMEojRI9bgvqQAkl6hm7ozQvqWPyQx+kULiatdHgkNM1QG4DQRx5N9BAzWSCJmt9mMV8/KsdgVg==} resolution: {integrity: sha512-gce9m0Pk/xYYMEojRI9bgvqQAkl6hm7ozQvqWPyQx+kULiatdHgkNM1QG4DQRx5N9BAzWSCJmt9mMV8/KsdgVg==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
react-day-picker@8.10.1: react-day-picker@8.10.1:
resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==} resolution: {integrity: sha512-TMx7fNbhLk15eqcMt+7Z7S2KF7mfTId/XJDjKE8f+IUcFn0l08/kI4FiYTL/0yuOLmEcbR4Fwe3GJf/NiiMnPA==}
peerDependencies: peerDependencies:
date-fns: ^2.28.0 || ^3.0.0 date-fns: ^2.28.0 || ^3.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0 react: ^18
react-dom@18.3.1: react-dom@18.3.1:
resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}
peerDependencies: peerDependencies:
react: ^18.3.1 react: ^18
react-error-boundary@3.1.4: react-error-boundary@3.1.4:
resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==} resolution: {integrity: sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==}
engines: {node: '>=10', npm: '>=6'} engines: {node: '>=10', npm: '>=6'}
peerDependencies: peerDependencies:
react: '>=16.13.1' react: ^18
react-fast-compare@3.2.2: react-fast-compare@3.2.2:
resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==} resolution: {integrity: sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==}
...@@ -9607,8 +9668,8 @@ packages: ...@@ -9607,8 +9668,8 @@ packages:
react-focus-lock@2.13.6: react-focus-lock@2.13.6:
resolution: {integrity: sha512-ehylFFWyYtBKXjAO9+3v8d0i+cnc1trGS0vlTGhzFW1vbFXVUTmR8s2tt/ZQG8x5hElg6rhENlLG1H3EZK0Llg==} resolution: {integrity: sha512-ehylFFWyYtBKXjAO9+3v8d0i+cnc1trGS0vlTGhzFW1vbFXVUTmR8s2tt/ZQG8x5hElg6rhENlLG1H3EZK0Llg==}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -9617,13 +9678,13 @@ packages: ...@@ -9617,13 +9678,13 @@ packages:
resolution: {integrity: sha512-+s3+s8LLytRMriwwuSqeLStVjRXFGxgjjx2jED7Z+wz1J/88vpxieRQGvJVvzrzVxshZ0BRuocFERb779m2kNg==} resolution: {integrity: sha512-+s3+s8LLytRMriwwuSqeLStVjRXFGxgjjx2jED7Z+wz1J/88vpxieRQGvJVvzrzVxshZ0BRuocFERb779m2kNg==}
engines: {node: '>=12.22.0'} engines: {node: '>=12.22.0'}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17 || ^18 react: ^18
react-i18next@14.1.2: react-i18next@14.1.2:
resolution: {integrity: sha512-FSIcJy6oauJbGEXfhUgVeLzvWBhIBIS+/9c6Lj4niwKZyGaGb4V4vUbATXSlsHJDXXB+ociNxqFNiFuV1gmoqg==} resolution: {integrity: sha512-FSIcJy6oauJbGEXfhUgVeLzvWBhIBIS+/9c6Lj4niwKZyGaGb4V4vUbATXSlsHJDXXB+ociNxqFNiFuV1gmoqg==}
peerDependencies: peerDependencies:
i18next: '>= 23.2.3' i18next: '>= 23.2.3'
react: '>= 16.8.0' react: ^18
react-dom: '*' react-dom: '*'
react-native: '*' react-native: '*'
peerDependenciesMeta: peerDependenciesMeta:
...@@ -9644,19 +9705,19 @@ packages: ...@@ -9644,19 +9705,19 @@ packages:
react-markdown@9.1.0: react-markdown@9.1.0:
resolution: {integrity: sha512-xaijuJB0kzGiUdG7nc2MOMDUDBWPyGAjZtUrow9XxUeua8IqeP+VlIfAZ3bphpcLTnSZXz6z9jcVC/TCwbfgdw==} resolution: {integrity: sha512-xaijuJB0kzGiUdG7nc2MOMDUDBWPyGAjZtUrow9XxUeua8IqeP+VlIfAZ3bphpcLTnSZXz6z9jcVC/TCwbfgdw==}
peerDependencies: peerDependencies:
'@types/react': '>=18' '@types/react': ^18
react: '>=18' react: ^18
react-photo-view@1.2.7: react-photo-view@1.2.7:
resolution: {integrity: sha512-MfOWVPxuibncRLaycZUNxqYU8D9IA+rbGDDaq6GM8RIoGJal592hEJoRAyRSI7ZxyyJNJTLMUWWL3UIXHJJOpw==} resolution: {integrity: sha512-MfOWVPxuibncRLaycZUNxqYU8D9IA+rbGDDaq6GM8RIoGJal592hEJoRAyRSI7ZxyyJNJTLMUWWL3UIXHJJOpw==}
peerDependencies: peerDependencies:
react: '>=16.8.0' react: ^18
react-dom: '>=16.8.0' react-dom: ^18
react-redux@7.2.9: react-redux@7.2.9:
resolution: {integrity: sha512-Gx4L3uM182jEEayZfRbI/G11ZpYdNAnBs70lFVMNdHJI76XYtR+7m0MN+eAs7UHBPhWXcnFPaS+9owSCJQHNpQ==} resolution: {integrity: sha512-Gx4L3uM182jEEayZfRbI/G11ZpYdNAnBs70lFVMNdHJI76XYtR+7m0MN+eAs7UHBPhWXcnFPaS+9owSCJQHNpQ==}
peerDependencies: peerDependencies:
react: ^16.8.3 || ^17 || ^18 react: ^18
react-dom: '*' react-dom: '*'
react-native: '*' react-native: '*'
peerDependenciesMeta: peerDependenciesMeta:
...@@ -9669,8 +9730,8 @@ packages: ...@@ -9669,8 +9730,8 @@ packages:
resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==} resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -9679,8 +9740,8 @@ packages: ...@@ -9679,8 +9740,8 @@ packages:
resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==} resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -9688,15 +9749,15 @@ packages: ...@@ -9688,15 +9749,15 @@ packages:
react-smooth@4.0.4: react-smooth@4.0.4:
resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==} resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^18
react-style-singleton@2.2.3: react-style-singleton@2.2.3:
resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==} resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -9704,19 +9765,19 @@ packages: ...@@ -9704,19 +9765,19 @@ packages:
react-syntax-highlighter@15.6.1: react-syntax-highlighter@15.6.1:
resolution: {integrity: sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==} resolution: {integrity: sha512-OqJ2/vL7lEeV5zTJyG7kmARppUjiB9h9udl4qHQjjgEos66z00Ia0OckwYfRxCSFrW8RJIBnsBwQsHZbVPspqg==}
peerDependencies: peerDependencies:
react: '>= 0.14.0' react: ^18
react-textarea-autosize@8.5.8: react-textarea-autosize@8.5.8:
resolution: {integrity: sha512-iUiIj70JefrTuSJ4LbVFiSqWiHHss5L63L717bqaWHMgkm9sz6eEvro4vZ3uQfGJbevzwT6rHOszHKA8RkhRMg==} resolution: {integrity: sha512-iUiIj70JefrTuSJ4LbVFiSqWiHHss5L63L717bqaWHMgkm9sz6eEvro4vZ3uQfGJbevzwT6rHOszHKA8RkhRMg==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
react-transition-group@4.4.5: react-transition-group@4.4.5:
resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
peerDependencies: peerDependencies:
react: '>=16.6.0' react: ^18
react-dom: '>=16.6.0' react-dom: ^18
react@18.3.1: react@18.3.1:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
...@@ -9725,8 +9786,8 @@ packages: ...@@ -9725,8 +9786,8 @@ packages:
reactflow@11.11.4: reactflow@11.11.4:
resolution: {integrity: sha512-70FOtJkUWH3BAOsN+LU9lCrKoKbtOPnz2uq0CV2PLdNSwxTXOhCbsZr50GmZ+Rtw3jx8Uv7/vBFtCGixLfd4Og==} resolution: {integrity: sha512-70FOtJkUWH3BAOsN+LU9lCrKoKbtOPnz2uq0CV2PLdNSwxTXOhCbsZr50GmZ+Rtw3jx8Uv7/vBFtCGixLfd4Og==}
peerDependencies: peerDependencies:
react: '>=17' react: ^18
react-dom: '>=17' react-dom: ^18
read-cache@1.0.0: read-cache@1.0.0:
resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
...@@ -9767,8 +9828,8 @@ packages: ...@@ -9767,8 +9828,8 @@ packages:
resolution: {integrity: sha512-v8PUTUlyiDe56qUj82w/EDVuzEFXwEHp9/xOowGAZwfLjB9uAy3GllQVIYMWF6nU+qibx85WF75zD7AjqoT54Q==} resolution: {integrity: sha512-v8PUTUlyiDe56qUj82w/EDVuzEFXwEHp9/xOowGAZwfLjB9uAy3GllQVIYMWF6nU+qibx85WF75zD7AjqoT54Q==}
engines: {node: '>=14'} engines: {node: '>=14'}
peerDependencies: peerDependencies:
react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^18
redis-errors@1.2.0: redis-errors@1.2.0:
resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==} resolution: {integrity: sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==}
...@@ -10418,7 +10479,7 @@ packages: ...@@ -10418,7 +10479,7 @@ packages:
peerDependencies: peerDependencies:
'@babel/core': '*' '@babel/core': '*'
babel-plugin-macros: '*' babel-plugin-macros: '*'
react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0' react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@babel/core': '@babel/core':
optional: true optional: true
...@@ -10928,8 +10989,8 @@ packages: ...@@ -10928,8 +10989,8 @@ packages:
resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==} resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -10938,7 +10999,7 @@ packages: ...@@ -10938,7 +10999,7 @@ packages:
resolution: {integrity: sha512-djviaxuOOh7wkj0paeO1Q/4wMZ8Zrnag5H6yBvzN7AKKe8beOaED9SF5/ByLqsku8NP4zQqsvM2u3ew/tJK8/w==} resolution: {integrity: sha512-djviaxuOOh7wkj0paeO1Q/4wMZ8Zrnag5H6yBvzN7AKKe8beOaED9SF5/ByLqsku8NP4zQqsvM2u3ew/tJK8/w==}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': '*'
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -10946,8 +11007,8 @@ packages: ...@@ -10946,8 +11007,8 @@ packages:
use-context-selector@1.4.4: use-context-selector@1.4.4:
resolution: {integrity: sha512-pS790zwGxxe59GoBha3QYOwk8AFGp4DN6DOtH+eoqVmgBBRXVx4IlPDhJmmMiNQAgUaLlP+58aqRC3A4rdaSjg==} resolution: {integrity: sha512-pS790zwGxxe59GoBha3QYOwk8AFGp4DN6DOtH+eoqVmgBBRXVx4IlPDhJmmMiNQAgUaLlP+58aqRC3A4rdaSjg==}
peerDependencies: peerDependencies:
react: '>=16.8.0' react: ^18
react-dom: '*' react-dom: ^18
react-native: '*' react-native: '*'
scheduler: '>=0.19.0' scheduler: '>=0.19.0'
peerDependenciesMeta: peerDependenciesMeta:
...@@ -10960,7 +11021,7 @@ packages: ...@@ -10960,7 +11021,7 @@ packages:
resolution: {integrity: sha512-q6ayo8DWoPZT0VdG4u3D3uxcgONP3Mevx2i2b0434cwWBoL+aelL1DzkXI6w3PhTZzUeR2kaVlZn70iCiseP6w==} resolution: {integrity: sha512-q6ayo8DWoPZT0VdG4u3D3uxcgONP3Mevx2i2b0434cwWBoL+aelL1DzkXI6w3PhTZzUeR2kaVlZn70iCiseP6w==}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': '*'
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -10969,7 +11030,7 @@ packages: ...@@ -10969,7 +11030,7 @@ packages:
resolution: {integrity: sha512-mhg3xdm9NaM8q+gLT8KryJPnRFOz1/5XPBhmDEVZK1webPzDjrPk7f/mbpeLqTgB9msytYWANxgALOCJKnLvcQ==} resolution: {integrity: sha512-mhg3xdm9NaM8q+gLT8KryJPnRFOz1/5XPBhmDEVZK1webPzDjrPk7f/mbpeLqTgB9msytYWANxgALOCJKnLvcQ==}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': '*'
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -10977,14 +11038,14 @@ packages: ...@@ -10977,14 +11038,14 @@ packages:
use-memo-one@1.1.3: use-memo-one@1.1.3:
resolution: {integrity: sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==} resolution: {integrity: sha512-g66/K7ZQGYrI6dy8GLpVcMsBp4s17xNkYJVSMvTEevGy3nDxHOfE6z8BVE22+5G5x7t3+bhzrlTDB7ObrEE0cQ==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 react: ^18
use-sidecar@1.1.3: use-sidecar@1.1.3:
resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==} resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
engines: {node: '>=10'} engines: {node: '>=10'}
peerDependencies: peerDependencies:
'@types/react': '*' '@types/react': ^18
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -10992,7 +11053,7 @@ packages: ...@@ -10992,7 +11053,7 @@ packages:
use-sync-external-store@1.4.0: use-sync-external-store@1.4.0:
resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==} resolution: {integrity: sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw==}
peerDependencies: peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^18
util-deprecate@1.0.2: util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
...@@ -11393,7 +11454,7 @@ packages: ...@@ -11393,7 +11454,7 @@ packages:
engines: {node: '>=12'} engines: {node: '>=12'}
xlsx@https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz: xlsx@https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz:
resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz} resolution: {integrity: sha512-+nKZ39+nvK7Qq6i0PvWWRA4j/EkfWOtkP/YhMtupm+lJIiHxUrgTr1CcKv1nBk1rHtkRRQ3O2+Ih/q/sA+FXZA==, tarball: https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz}
version: 0.20.2 version: 0.20.2
engines: {node: '>=0.8'} engines: {node: '>=0.8'}
hasBin: true hasBin: true
...@@ -11538,9 +11599,9 @@ packages: ...@@ -11538,9 +11599,9 @@ packages:
resolution: {integrity: sha512-ibr/n1hBzLLj5Y+yUcU7dYw8p6WnIVzdJbnX+1YpaScvZVF2ziugqHs+LAmHw4lWO9c/zRj+K1ncgWDQuthEdQ==} resolution: {integrity: sha512-ibr/n1hBzLLj5Y+yUcU7dYw8p6WnIVzdJbnX+1YpaScvZVF2ziugqHs+LAmHw4lWO9c/zRj+K1ncgWDQuthEdQ==}
engines: {node: '>=12.7.0'} engines: {node: '>=12.7.0'}
peerDependencies: peerDependencies:
'@types/react': '>=16.8' '@types/react': ^18
immer: '>=9.0.6' immer: '>=9.0.6'
react: '>=16.8' react: ^18
peerDependenciesMeta: peerDependenciesMeta:
'@types/react': '@types/react':
optional: true optional: true
...@@ -12861,11 +12922,11 @@ snapshots: ...@@ -12861,11 +12922,11 @@ snapshots:
'@chakra-ui/anatomy@2.3.6': {} '@chakra-ui/anatomy@2.3.6': {}
'@chakra-ui/cli@2.5.8(encoding@0.1.13)(react@18.3.1)': '@chakra-ui/cli@2.5.8(react@18.3.1)':
dependencies: dependencies:
bundle-n-require: 1.1.2 bundle-n-require: 1.1.2
chokidar: 3.6.0 chokidar: 3.6.0
cli-welcome: 2.2.3(encoding@0.1.13)(react@18.3.1) cli-welcome: 2.2.3(react@18.3.1)
commander: 11.1.0 commander: 11.1.0
ora: 7.0.1 ora: 7.0.1
prettier: 3.2.4 prettier: 3.2.4
...@@ -17282,9 +17343,9 @@ snapshots: ...@@ -17282,9 +17343,9 @@ snapshots:
claygl@1.3.0: {} claygl@1.3.0: {}
clear-any-console@1.16.3(encoding@0.1.13)(react@18.3.1): clear-any-console@1.16.3(react@18.3.1):
dependencies: dependencies:
langbase: 1.1.44(encoding@0.1.13)(react@18.3.1) langbase: 1.1.44(react@18.3.1)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
- react - react
...@@ -17303,10 +17364,10 @@ snapshots: ...@@ -17303,10 +17364,10 @@ snapshots:
slice-ansi: 5.0.0 slice-ansi: 5.0.0
string-width: 5.1.2 string-width: 5.1.2
cli-welcome@2.2.3(encoding@0.1.13)(react@18.3.1): cli-welcome@2.2.3(react@18.3.1):
dependencies: dependencies:
chalk: 2.4.2 chalk: 2.4.2
clear-any-console: 1.16.3(encoding@0.1.13)(react@18.3.1) clear-any-console: 1.16.3(react@18.3.1)
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
- react - react
...@@ -19917,10 +19978,10 @@ snapshots: ...@@ -19917,10 +19978,10 @@ snapshots:
kuler@2.0.0: {} kuler@2.0.0: {}
langbase@1.1.44(encoding@0.1.13)(react@18.3.1): langbase@1.1.44(react@18.3.1):
dependencies: dependencies:
dotenv: 16.5.0 dotenv: 16.5.0
openai: 4.104.0(encoding@0.1.13)(zod@3.25.76) openai: 4.104.0(zod@3.25.76)
zod: 3.25.76 zod: 3.25.76
zod-validation-error: 3.4.0(zod@3.25.76) zod-validation-error: 3.4.0(zod@3.25.76)
optionalDependencies: optionalDependencies:
...@@ -21209,7 +21270,7 @@ snapshots: ...@@ -21209,7 +21270,7 @@ snapshots:
dependencies: dependencies:
mimic-fn: 4.0.0 mimic-fn: 4.0.0
openai@4.104.0(encoding@0.1.13)(zod@3.25.76): openai@4.104.0(encoding@0.1.13)(zod@4.1.12):
dependencies: dependencies:
'@types/node': 18.19.80 '@types/node': 18.19.80
'@types/node-fetch': 2.6.12 '@types/node-fetch': 2.6.12
...@@ -21219,11 +21280,11 @@ snapshots: ...@@ -21219,11 +21280,11 @@ snapshots:
formdata-node: 4.4.1 formdata-node: 4.4.1
node-fetch: 2.7.0(encoding@0.1.13) node-fetch: 2.7.0(encoding@0.1.13)
optionalDependencies: optionalDependencies:
zod: 3.25.76 zod: 4.1.12
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
openai@4.104.0(encoding@0.1.13)(zod@4.1.12): openai@4.104.0(zod@3.25.76):
dependencies: dependencies:
'@types/node': 18.19.80 '@types/node': 18.19.80
'@types/node-fetch': 2.6.12 '@types/node-fetch': 2.6.12
...@@ -21233,7 +21294,7 @@ snapshots: ...@@ -21233,7 +21294,7 @@ snapshots:
formdata-node: 4.4.1 formdata-node: 4.4.1
node-fetch: 2.7.0(encoding@0.1.13) node-fetch: 2.7.0(encoding@0.1.13)
optionalDependencies: optionalDependencies:
zod: 4.1.12 zod: 3.25.76
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding
......
...@@ -5,7 +5,7 @@ WORKDIR /app ...@@ -5,7 +5,7 @@ WORKDIR /app
ARG proxy ARG proxy
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk add --no-cache libc6-compat && npm install -g pnpm@9.4.0 RUN apk add --no-cache libc6-compat && npm install -g pnpm@10
# copy packages and one project # copy packages and one project
COPY pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./ COPY pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
...@@ -39,7 +39,7 @@ COPY --from=maindeps /app/projects/app/node_modules ./projects/app/node_modules ...@@ -39,7 +39,7 @@ COPY --from=maindeps /app/projects/app/node_modules ./projects/app/node_modules
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk add --no-cache libc6-compat && npm install -g pnpm@9.4.0 RUN apk add --no-cache libc6-compat && npm install -g pnpm@10
ENV NODE_OPTIONS="--max-old-space-size=4096" ENV NODE_OPTIONS="--max-old-space-size=4096"
ENV NEXT_PUBLIC_BASE_URL=$base_url ENV NEXT_PUBLIC_BASE_URL=$base_url
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/anatomy": "catalog:", "@chakra-ui/anatomy": "catalog:",
......
...@@ -5,7 +5,7 @@ WORKDIR /app ...@@ -5,7 +5,7 @@ WORKDIR /app
ARG proxy ARG proxy
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk add --no-cache libc6-compat && npm install -g pnpm@9.4.0 RUN apk add --no-cache libc6-compat && npm install -g pnpm@10
# copy packages and one project # copy packages and one project
COPY pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./ COPY pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
...@@ -37,7 +37,7 @@ COPY --from=maindeps /app/projects/marketplace/node_modules ./projects/marketpla ...@@ -37,7 +37,7 @@ COPY --from=maindeps /app/projects/marketplace/node_modules ./projects/marketpla
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk add --no-cache libc6-compat && npm install -g pnpm@9.4.0 RUN apk add --no-cache libc6-compat && npm install -g pnpm@10
ENV NODE_OPTIONS="--max-old-space-size=4096" ENV NODE_OPTIONS="--max-old-space-size=4096"
ENV NEXT_PUBLIC_BASE_URL=$base_url ENV NEXT_PUBLIC_BASE_URL=$base_url
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/anatomy": "catalog:", "@chakra-ui/anatomy": "catalog:",
......
...@@ -4,7 +4,7 @@ WORKDIR /app ...@@ -4,7 +4,7 @@ WORKDIR /app
ARG proxy ARG proxy
RUN npm install -g pnpm@9.4.0 RUN npm install -g pnpm@10
# 复制package.json # 复制package.json
COPY pnpm-lock.yaml pnpm-workspace.yaml ./ COPY pnpm-lock.yaml pnpm-workspace.yaml ./
...@@ -40,7 +40,7 @@ COPY --from=install /app/node_modules /app/node_modules ...@@ -40,7 +40,7 @@ COPY --from=install /app/node_modules /app/node_modules
COPY --from=install /app/projects/mcp_server/node_modules /app/projects/mcp_server/node_modules COPY --from=install /app/projects/mcp_server/node_modules /app/projects/mcp_server/node_modules
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
RUN apk add --no-cache libc6-compat curl bash && npm install -g pnpm@9.4.0 RUN apk add --no-cache libc6-compat curl bash && npm install -g pnpm@10
# Install curl and bash, then install bun # Install curl and bash, then install bun
RUN curl -fsSL https://bun.sh/install | bash RUN curl -fsSL https://bun.sh/install | bash
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@fastgpt/global": "workspace:*", "@fastgpt/global": "workspace:*",
......
...@@ -5,7 +5,7 @@ WORKDIR /app ...@@ -5,7 +5,7 @@ WORKDIR /app
ARG proxy ARG proxy
# 安装 pnpm # 安装 pnpm
RUN apk add --no-cache nodejs npm && npm install -g pnpm@9.4.0 RUN apk add --no-cache nodejs npm && npm install -g pnpm@10
# 复制 workspace 配置和依赖包 # 复制 workspace 配置和依赖包
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./ COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"dependencies": { "dependencies": {
"@fastgpt-sdk/logger": "catalog:", "@fastgpt-sdk/logger": "catalog:",
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
}, },
"engines": { "engines": {
"node": ">=20", "node": ">=20",
"pnpm": ">=9" "pnpm": "10.x"
}, },
"exports": { "exports": {
".": { ".": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment