mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 23:18:39 +08:00
revert regex for output variable name
This commit is contained in:
parent
2fa688cefd
commit
b6db6d9305
@ -344,7 +344,7 @@ export const VAR_REGEX
|
||||
|
||||
export const resetReg = () => (VAR_REGEX.lastIndex = 0)
|
||||
|
||||
export const HITL_INPUT_REG = /\{\{(#\$output\.(?:[\p{L}_][\p{L}\d_]{0,29}){1,10}#)\}\}/giu
|
||||
export const HITL_INPUT_REG = /\{\{(#\$output\.(?:[a-z_]\w{0,29}){1,10}#)\}\}/gi
|
||||
export const resetHITLInputReg = () => HITL_INPUT_REG.lastIndex = 0
|
||||
|
||||
export const DISABLE_UPLOAD_IMAGE_AS_ICON = process.env.NEXT_PUBLIC_DISABLE_UPLOAD_IMAGE_AS_ICON === 'true'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user