pvanand commited on
Commit
1ed50ec
1 Parent(s): 9720994

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -496,7 +496,9 @@ async def followup_agent(query: FollowupQueryModel, background_tasks: Background
496
  "clarification": interact
497
  }
498
 
499
- yield "<json>" + json.dumps(result)
 
 
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})