Solve circular dependency issue between workflow/constants.ts file and default.ts file (#13165)

This commit is contained in:
Obada Khalili 2025-02-04 03:26:01 +02:00 • committed by GitHub
commit 8fbc9c9342
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 23 additions and 21 deletions

View file

@ -2,7 +2,7 @@ import { BlockEnum } from '../../types'
import type { NodeDefault } from '../../types'
import type { KnowledgeRetrievalNodeType } from './types'
import { checkoutRerankModelConfigedInRetrievalSettings } from './utils'
import { ALL_CHAT_AVAILABLE_BLOCKS, ALL_COMPLETION_AVAILABLE_BLOCKS } from '@/app/components/workflow/constants'
import { ALL_CHAT_AVAILABLE_BLOCKS, ALL_COMPLETION_AVAILABLE_BLOCKS } from '@/app/components/workflow/blocks'
import { DATASET_DEFAULT } from '@/config'
import { RETRIEVE_TYPE } from '@/types/app'
const i18nPrefix = 'workflow'