fix: route parallel web backend through grounding

This commit is contained in:
Dinakar Sarbada
2026-05-06 12:35:50 -07:00
committed by Trevin Chow
parent 7214dd6051
commit 5c802b0daa
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ def run(
available = [source for source in available if source in requested_sources]
if web_backend == "none":
available = [s for s in available if s != "grounding"]
elif web_backend in ("brave", "exa", "serper") and "grounding" not in available:
elif web_backend in ("brave", "exa", "serper", "parallel") and "grounding" not in available:
available.append("grounding")
if not available:
raise RuntimeError("No sources are available for this run.")