diff --git a/web/src/assets/svg/crawler.svg b/web/src/assets/svg/crawler.svg index b61773fbc3..507f567f31 100644 --- a/web/src/assets/svg/crawler.svg +++ b/web/src/assets/svg/crawler.svg @@ -1 +1,12 @@ - \ No newline at end of file + + + + + \ No newline at end of file diff --git a/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx b/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx index 0cf86eda10..2524000c1d 100644 --- a/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx +++ b/web/src/components/api-service/chat-overview-modal/backend-service-api.tsx @@ -22,10 +22,10 @@ const BackendServiceApi = ({ show }: { show(): void }) => { {t('backendServiceApi')} - {location.origin}/api/v1/ + {location.origin} diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index cbc0bc874b..0b63dd333a 100644 --- a/web/src/locales/en.ts +++ b/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', diff --git a/web/src/pages/flow/constant.tsx b/web/src/pages/flow/constant.tsx index 7aae71a687..48d1019ff9 100644 --- a/web/src/pages/flow/constant.tsx +++ b/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 }, diff --git a/web/src/pages/flow/hooks.ts b/web/src/pages/flow/hooks.ts index 81305335b6..59785dbdbc 100644 --- a/web/src/pages/flow/hooks.ts +++ b/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]);