fix:#18447:When variables in the workflow are deleted or modified, it is impossible to visually identify subsequent node errors (#18554)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
董富宝
2025-05-14 10:17:15 +08:00
committed by GitHub
parent 9e795374bc
commit 3c953cb0ef
26 changed files with 522 additions and 21 deletions

View File

@@ -282,6 +282,8 @@ Thought: {{agent_scratchpad}}
export const VAR_REGEX = /\{\{(#[a-zA-Z0-9_-]{1,50}(\.[a-zA-Z_]\w{0,29}){1,10}#)\}\}/gi
export const VAR_REGEX_TEXT = /\{\{#([a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*)#\}\}/gi
export const resetReg = () => VAR_REGEX.lastIndex = 0
export let textGenerationTimeoutMs = 60000