fix ai answer
This commit is contained in:
parent
0d1bf3f1ac
commit
9d975c94d1
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue