Просмотр исходного кода

feat: Replace crawler icon #2915 (#2916)

### What problem does this PR solve?

feat: Replace crawler icon #2915

### Type of change

- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
tags/v0.13.0
balibabu 1 год назад
Родитель
Сommit
609cfa7b5f
Аккаунт пользователя с таким Email не найден

+ 12
- 1
web/src/assets/svg/crawler.svg
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 2
- 2
web/src/components/api-service/chat-overview-modal/backend-service-api.tsx Просмотреть файл

@@ -22,10 +22,10 @@ const BackendServiceApi = ({ show }: { show(): void }) => {
<Flex gap={8} align="center">
<b>{t('backendServiceApi')}</b>
<Paragraph
copyable={{ text: `${location.origin}/api/v1/` }}
copyable={{ text: `${location.origin}` }}
className={styles.apiLinkText}
>
{location.origin}/api/v1/
{location.origin}
</Paragraph>
</Flex>
</Card>

+ 1
- 1
web/src/locales/en.ts Просмотреть файл

@@ -937,7 +937,7 @@ The above is the content you need to summarize.`,
markdown: 'Markdown',
content: 'Content',
},
extractType: 'extractType',
extractType: 'Extract type',
info: 'Info',
history: 'History',
financials: 'Financials',

+ 4
- 0
web/src/pages/flow/constant.tsx Просмотреть файл

@@ -505,6 +505,10 @@ export const initialNoteValues = {
text: '',
};

export const initialCrawlerValues = {
extract_type: 'markdown',
};

export const CategorizeAnchorPointPositions = [
{ top: 1, right: 34 },
{ top: 8, right: 18 },

+ 2
- 0
web/src/pages/flow/hooks.ts Просмотреть файл

@@ -41,6 +41,7 @@ import {
initialBingValues,
initialCategorizeValues,
initialConcentratorValues,
initialCrawlerValues,
initialDeepLValues,
initialDuckValues,
initialExeSqlValues,
@@ -129,6 +130,7 @@ export const useInitializeOperatorParams = () => {
[Operator.Concentrator]: initialConcentratorValues,
[Operator.TuShare]: initialTuShareValues,
[Operator.Note]: initialNoteValues,
[Operator.Crawler]: initialCrawlerValues,
};
}, [llmId]);


Загрузка…
Отмена
Сохранить