MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / hasAnyEnabled

Function hasAnyEnabled

packages/node-runtime/src/ai/preprocessor/pipeline.ts:73–81  ·  view source on GitHub ↗
(config: PreprocessConfig)

Source from the content-addressed store, hash-verified

71}
72
73function hasAnyEnabled(config: PreprocessConfig): boolean {
74 return (
75 config.dataCleaning !== false ||
76 config.mergeConsecutive ||
77 config.blacklistKeywords.length > 0 ||
78 config.denoise ||
79 config.desensitize
80 )
81}
82
83// ==================== 策略实现 ====================
84

Callers 1

preprocessMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected