fix: dataset and moderation. (#2042)
This commit is contained in:
parent
7b0818b8e5
commit
83105d0d8f
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue