Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -243,7 +243,7 @@ def stream_agent(question: str,
|
|
243 |
|
244 |
# Optional seeding: attach some likely pages on round 1
|
245 |
try:
|
246 |
-
seed_indices =
|
247 |
except Exception as e:
|
248 |
yield f"❌ Search failed: {e}", "", ""
|
249 |
return
|
|
|
243 |
|
244 |
# Optional seeding: attach some likely pages on round 1
|
245 |
try:
|
246 |
+
seed_indices = search(question, k=5) or []
|
247 |
except Exception as e:
|
248 |
yield f"❌ Search failed: {e}", "", ""
|
249 |
return
|