mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 11:29:39 +08:00
fix: 内容过滤无效 (#743)
This commit is contained in:
@@ -25,7 +25,7 @@ class ContentFilterStage(stage.PipelineStage):
|
|||||||
async def initialize(self):
|
async def initialize(self):
|
||||||
|
|
||||||
filters_required = [
|
filters_required = [
|
||||||
"content-filter"
|
"content-ignore",
|
||||||
]
|
]
|
||||||
|
|
||||||
if self.ap.pipeline_cfg.data['check-sensitive-words']:
|
if self.ap.pipeline_cfg.data['check-sensitive-words']:
|
||||||
|
|||||||
Reference in New Issue
Block a user