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):
This commit is contained in:
balibabu 2024-10-21 14:28:30 +08:00 committed by GitHub
parent ac26d09a59
commit 609cfa7b5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 21 additions and 4 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -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>

View File

@ -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',

View File

@ -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 },

View File

@ -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]);