Interface: PreLLMClassifierConfig
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:29
Configuration for the Pre-LLM Classifier.
Properties
blockThreshold?
optionalblockThreshold?:number
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:37
Risk score threshold for blocking (0.0 - 1.0)
customPatterns?
optionalcustomPatterns?:InjectionPattern[]
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:31
Custom injection patterns to add
enableLogging?
optionalenableLogging?:boolean
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:40
Enable logging of classifications
maxPromptSizeBytes?
optionalmaxPromptSizeBytes?:number
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:48
Maximum allowed prompt size in bytes. Inputs exceeding this limit are blocked before any processing to prevent memory-exhaustion DoS (OpenClaw OC-53). Default: 2 MiB (2_097_152 bytes).
riskThreshold?
optionalriskThreshold?:number
Defined in: .source/wunderland/src/security/PreLLMClassifier.ts:34
Risk score threshold for flagging (0.0 - 1.0)