fix await get_user_state

This commit is contained in:
ipu 2025-09-01 16:29:17 +03:00
parent 65f8982fd4
commit d557bd8ca0

View file

@ -141,7 +141,7 @@ class ChatService:
instructions = "" instructions = ""
if uid: if uid:
user_state = self.get_user_state(uid) user_state = await self.get_user_state(uid)
instructions += f"\n\n# User Information\nApplication state (None means that application was not sent or pending):\n{user_state}" instructions += f"\n\n# User Information\nApplication state (None means that application was not sent or pending):\n{user_state}"
chat_response = await self.send_message(session_id, message, instructions) chat_response = await self.send_message(session_id, message, instructions)