Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -496,7 +496,9 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
|
|
| 496 |
"clarification": interact
|
| 497 |
}
|
| 498 |
|
| 499 |
-
yield "<json>"
|
|
|
|
|
|
|
| 500 |
|
| 501 |
# Add the assistant's response to the conversation history
|
| 502 |
conversations[query.conversation_id].append({"role": "assistant", "content": full_response})
|
|
|
|
| 496 |
"clarification": interact
|
| 497 |
}
|
| 498 |
|
| 499 |
+
yield "\n<json>"
|
| 500 |
+
yield json.dumps(result)
|
| 501 |
+
|
| 502 |
|
| 503 |
# Add the assistant's response to the conversation history
|
| 504 |
conversations[query.conversation_id].append({"role": "assistant", "content": full_response})
|