IsPatternDetector reports whether this detector model matches secrets with regex patterns (built-in and/or operator-defined) rather than a neural NER model. Such a model runs entirely in-process (no backend / GGUF / VRAM); the PII resolver builds an in-process pattern matcher for it instead of loadi
()
| 534 | // PII resolver builds an in-process pattern matcher for it instead of loading a |
| 535 | // gRPC token-classifier. |
| 536 | func (c *ModelConfig) IsPatternDetector() bool { |
| 537 | return len(c.PIIDetection.Builtins) > 0 || len(c.PIIDetection.Patterns) > 0 |
| 538 | } |
| 539 | |
| 540 | // @Description MCP configuration |
| 541 | type MCPConfig struct { |
no outgoing calls
no test coverage detected