Skip to content

Commit

Permalink
v441 description
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Sep 13, 2023
1 parent 748b4e3 commit 430650e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
18 changes: 18 additions & 0 deletions client/src/pages/kb/detail/components/DataCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,24 @@ const DataCard = ({ kbId }: { kbId: string }) => {
return (
<Box ref={BoxRef} position={'relative'} px={5} py={[1, 5]} h={'100%'} overflow={'overlay'}>
<Flex alignItems={'center'}>
<IconButton
mr={3}
icon={<MyIcon name={'backFill'} w={'18px'} color={'myBlue.600'} />}
bg={'white'}
boxShadow={'1px 1px 9px rgba(0,0,0,0.15)'}
h={'28px'}
size={'sm'}
borderRadius={'50%'}
aria-label={''}
onClick={() =>
router.replace({
query: {
kbId,
currentTab: 'dataset'
}
})
}
/>
<Flex
className="textEllipsis"
flex={'1 0 0'}
Expand Down
23 changes: 23 additions & 0 deletions docSite/content/docs/installation/upgrading/44 copy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: '升级到 V4.4.1'
description: 'FastGPT 从旧版本升级到 V4.4.1 操作指南'
icon: 'upgrade'
draft: false
toc: true
weight: 994
---

## 执行初始化 API

发起 1 个 HTTP 请求(记得携带 `headers.rootkey`,这个值是环境变量里的)

1. https://xxxxx/api/admin/initv441

```bash
curl --location --request POST 'https://{{host}}/api/admin/initv441' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
```

会给初始化 Mongo 的 dataset.files,将所有数据设置为可用。

0 comments on commit 430650e

Please sign in to comment.