This commit is contained in:
crazywoola 2025-05-15 22:39:35 +08:00 • committed by GitHub
commit 4dc06ee43f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 23 additions and 525 deletions

View file

@ -282,8 +282,6 @@ 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