Daniel00611 commited on
Commit
0548439
·
verified ·
1 Parent(s): 1c10f63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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: \n"
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