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
fix: Code editor throws dozen of errors (#28500)
非法操作9fed2dc065f8
diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsxindex 2a69161bef5..558dec7734a 100644--- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx+++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx@@ -15,7 +15,8 @@ import { noop } from 'lodash-es'import { basePath } from '@/utils/var'// load file from local instead of cdn https://github.com/suren-atoyan/monaco-react/issues/482-loader.config({ paths: { vs: `${basePath}/vs` } })+if (typeof window !== 'undefined')+ loader.config({ paths: { vs: `${window.location.origin}${basePath}/vs` } })const CODE_EDITOR_LINE_HEIGHT = 18