mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-15 05:46:52 +08:00
fix: dataset and moderation. (#2042)
This commit is contained in:
@@ -146,7 +146,7 @@ class BasicApplicationRunner(AppRunner):
|
||||
|
||||
# get context from datasets
|
||||
context = None
|
||||
if app_orchestration_config.dataset:
|
||||
if app_orchestration_config.dataset and app_orchestration_config.dataset.dataset_ids:
|
||||
context = self.retrieve_dataset_context(
|
||||
tenant_id=app_record.tenant_id,
|
||||
app_record=app_record,
|
||||
|
||||
Reference in New Issue
Block a user