Skip to content

Commit dfd43ea

Browse files
committed
fix: null condition
1 parent 0cff308 commit dfd43ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datapilot/core/platforms/dbt/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def run(self):
185185

186186
if self.token and self.instance_name and self.backend_url:
187187
llm_check_results = self.run_llm_checks()
188-
llm_reports = llm_check_results["results"]
188+
llm_reports = llm_check_results.get("results", [])
189189
llm_insights = {}
190190
for report in llm_reports:
191191
for answer in report["answer"]:

0 commit comments

Comments
 (0)