Davidtran99 commited on
Commit
1ebc377
·
1 Parent(s): ff794a8

Fix: Apply selected_detail in chat_simple endpoint

Browse files
backend/hue_portal/chatbot/views.py CHANGED
@@ -132,6 +132,9 @@ def chat_simple(request: HttpRequest) -> JsonResponse:
132
 
133
  if selected_topic is not None:
134
  _apply_selected_topic(session_id, selected_topic)
 
 
 
135
 
136
  try:
137
  chatbot = get_chatbot()
 
132
 
133
  if selected_topic is not None:
134
  _apply_selected_topic(session_id, selected_topic)
135
+
136
+ if selected_detail is not None:
137
+ _apply_selected_detail(session_id, selected_detail)
138
 
139
  try:
140
  chatbot = get_chatbot()