Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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 = {
|