chore: make text generation timeout duration configurable (#6450)

This commit is contained in:
Sangmin Ahn
2024-07-19 13:54:15 +09:00
committed by GitHub
parent 2ba05b041f
commit a5fcd91ba5
2 changed files with 4 additions and 1 deletions

View File

@ -245,3 +245,5 @@ Thought: {{agent_scratchpad}}
}
export const VAR_REGEX = /\{\{(#[a-zA-Z0-9_-]{1,50}(\.[a-zA-Z_][a-zA-Z0-9_]{0,29}){1,10}#)\}\}/gi
export const TEXT_GENERATION_TIMEOUT_MS = 60000