mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
chore(web): migrate lodash-es to es-toolkit compat (#30126)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import type { AgentLogItem, AgentLogItemWithChildren, NodeTracing } from '@/types/workflow'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import { cloneDeep } from 'es-toolkit/compat'
|
||||
import { BlockEnum } from '@/app/components/workflow/types'
|
||||
|
||||
const supportedAgentLogNodes = [BlockEnum.Agent, BlockEnum.Tool]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import type { NodeTracing } from '@/types/workflow'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import { cloneDeep } from 'es-toolkit/compat'
|
||||
import { BlockEnum } from '../../../types'
|
||||
import formatAgentNode from './agent'
|
||||
import { addChildrenToIterationNode } from './iteration'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { noop } from 'lodash-es'
|
||||
import { noop } from 'es-toolkit/compat'
|
||||
import format from '.'
|
||||
import graphToLogStruct from '../graph-to-log-struct'
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { noop } from 'lodash-es'
|
||||
import { noop } from 'es-toolkit/compat'
|
||||
import format from '.'
|
||||
import graphToLogStruct from '../graph-to-log-struct'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user