Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Chore: Replace lodash/noop with lodash-es/noop (#22331)
HyaCinth8b1f428ead8f
diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsxindex 42467ce111f..15401f10579 100644--- a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx+++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx@@ -55,7 +55,7 @@ type Props = {value?: ToolValueselectedTools?: ToolValue[]onSelect: (tool: ToolValue) => void- onSelectMultiple: (tool: ToolValue[]) => void+ onSelectMultiple?: (tool: ToolValue[]) => voidisEdit?: booleanonDelete?: () => voidsupportEnableSwitch?: boolean@@ -143,7 +143,7 @@ const ToolSelector: FC<Props> = ({}const handleSelectMultipleTool = (tool: ToolDefaultValue[]) => {const toolValues = tool.map(item => getToolValue(item))- onSelectMultiple(toolValues)+ onSelectMultiple?.(toolValues)}const handleDescriptionChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {diff --git a/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx b/web/app/components/workflow/nodes/_base/components/agent-strategy.tsxindex 31aa91cfdbf..ce9fbb77e13 100644--- a/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx+++ b/web/app/components/workflow/nodes/_base/components/agent-strategy.tsx@@ -20,7 +20,7 @@ import { useRenderI18nObject } from '@/hooks/use-i18n'import type { NodeOutPutVar } from '../../../types'import type { Node } from 'reactflow'import type { PluginMeta } from '@/app/components/plugins/types'-import { noop } from 'lodash'+import { noop } from 'lodash-es'import { useDocLink } from '@/context/i18n'export type Strategy = {diff --git a/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/hooks.ts b/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/hooks.tsindex eb3dff83d8f..d11ad92241d 100644--- a/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/hooks.ts+++ b/web/app/components/workflow/nodes/llm/components/json-schema-config-modal/visual-editor/hooks.ts@@ -6,7 +6,7 @@ import type { EditData } from './edit-card'import { ArrayType, type Field, Type } from '../../../types'import Toast from '@/app/components/base/toast'import { findPropertyWithPath } from '../../../utils'-import _ from 'lodash'+import { noop } from 'lodash-es'type ChangeEventParams = {path: string[],@@ -21,7 +21,7 @@ type AddEventParams = {export const useSchemaNodeOperations = (props: VisualEditorProps) => {const { schema: jsonSchema, onChange: doOnChange } = props- const onChange = doOnChange || _.noop+ const onChange = doOnChange || noopconst backupSchema = useVisualEditorStore(state => state.backupSchema)const setBackupSchema = useVisualEditorStore(state => state.setBackupSchema)const isAddingNewField = useVisualEditorStore(state => state.isAddingNewField)