fix current page info
This commit is contained in:
parent
959fd1ac86
commit
735ccb757c
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class ChatService:
|
||||||
user_state = await 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}"
|
||||||
if current_page:
|
if current_page:
|
||||||
instructions += f"\n\n# User now is currently on page:"
|
instructions += f"\n\n# User now is currently on page: {current_page}"
|
||||||
|
|
||||||
chat_response = await self.send_message(session_id, message, instructions)
|
chat_response = await self.send_message(session_id, message, instructions)
|
||||||
history = await self.get_chat_history(session_id)
|
history = await self.get_chat_history(session_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue