fix: a non-dict finding silently drops all raw research findings (#1739)

This commit is contained in:
Afonso Coutinho
2026-06-03 05:29:29 +01:00
committed by GitHub
parent 7f94c43a45
commit 96a874c604
2 changed files with 16 additions and 0 deletions
+2
View File
@@ -479,6 +479,8 @@ class ResearchHandler:
try:
items = []
for f in findings:
if not isinstance(f, dict):
continue
url = f.get("url", "")
title = f.get("title", "") or "Untitled"
summary = f.get("summary", "")