raghavNCI commited on
Commit
913ccc3
·
1 Parent(s): 91cfd36
Files changed (1) hide show
  1. routes/question.py +1 -2
routes/question.py CHANGED
@@ -79,8 +79,7 @@ async def ask_question(input: QuestionInput):
79
 
80
  return {
81
  "question": question,
82
- "answer": "Here are today’s top headlines:",
83
- "headlines": all_headlines,
84
  }
85
 
86
  # 2️⃣ Keyword‑based flow for other intents
 
79
 
80
  return {
81
  "question": question,
82
+ "answer": "Here are today’s top headlines:\n"+all_headlines
 
83
  }
84
 
85
  # 2️⃣ Keyword‑based flow for other intents