Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,9 +150,9 @@ def respond(message, history: list[tuple[str, str]], domain_table):
|
|
| 150 |
elif event.type == "response.completed":
|
| 151 |
response_stream = stream.get_final_response()
|
| 152 |
citations = extract_unique_citations_paragraph(response_stream)
|
| 153 |
-
response += "\n\n🔗 Fuentes citadas:
|
| 154 |
for c in citations:
|
| 155 |
-
response += f"• {c['title'] or 'Sin título'} → {c['url']}"
|
| 156 |
yield response
|
| 157 |
break
|
| 158 |
|
|
|
|
| 150 |
elif event.type == "response.completed":
|
| 151 |
response_stream = stream.get_final_response()
|
| 152 |
citations = extract_unique_citations_paragraph(response_stream)
|
| 153 |
+
response += "\n\n🔗 Fuentes citadas:"
|
| 154 |
for c in citations:
|
| 155 |
+
response += f"\n• {c['title'] or 'Sin título'} → {c['url']}"
|
| 156 |
yield response
|
| 157 |
break
|
| 158 |
|