mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 20:24:32 +02:00
Fix exception if no filters configured (#520)
This commit is contained in:
@@ -84,7 +84,7 @@ def handle_message(
|
||||
logger.info(
|
||||
"Found slack bot config for channel. Restricting bot to use document "
|
||||
f"sets: {document_set_names}, "
|
||||
f"validity checks enabled: {channel_conf['answer_filters']}"
|
||||
f"validity checks enabled: {channel_conf.get('answer_filters', 'NA')}"
|
||||
)
|
||||
|
||||
respond_tag_only = channel_conf.get("respond_tag_only") or False
|
||||
|
Reference in New Issue
Block a user