roger33303 commited on
Commit
b0ddedd
·
verified ·
1 Parent(s): 5975529

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def run_agent_stream(history, question, groq_key, reddit_id, reddit_secret, redd
56
  is_supervisor = msg.name == "supervisor"
57
  if is_final and is_supervisor:
58
  history.append(ChatMessage(role="assistant",content=" "))
59
- history.append(ChatMessage(role="assistant", content= "✅ Final Report\n"+ content))
60
  yield history, "", gr.update(interactive=True)
61
  else:
62
  emojis = {
 
56
  is_supervisor = msg.name == "supervisor"
57
  if is_final and is_supervisor:
58
  history.append(ChatMessage(role="assistant",content=" "))
59
+ history.append(ChatMessage(role="assistant", content=content, metadata= {"title": "✅ Final Report"}))
60
  yield history, "", gr.update(interactive=True)
61
  else:
62
  emojis = {