fix ai answer

This commit is contained in:
ipu 2025-08-13 15:53:23 +03:00
parent 0d1bf3f1ac
commit 9d975c94d1

View file

@ -116,7 +116,7 @@ class ChatService:
history = await self.get_chat_history(session_id) history = await self.get_chat_history(session_id)
ai_response = json.loads(chat_response.get("message", {})) ai_response = json.loads(chat_response.get("message", {}))
ai_message = ai_response.get("message", "") ai_message = ai_response.get("answer", "")
compare_plans = ai_response.get("compare_plans") compare_plans = ai_response.get("compare_plans")
show_plans = ai_response.get("show_plans") show_plans = ai_response.get("show_plans")
update_applicants = ai_response.get("update_applicants") update_applicants = ai_response.get("update_applicants")