diff --git a/ovos_core/intent_services/__init__.py b/ovos_core/intent_services/__init__.py index fc4c04156bf5..0386c30dcdb4 100644 --- a/ovos_core/intent_services/__init__.py +++ b/ovos_core/intent_services/__init__.py @@ -250,6 +250,7 @@ def _validate_session(self, message, lang): else: sess.lang = lang SessionManager.update(sess) + sess.touch() return sess def handle_utterance(self, message): diff --git a/ovos_core/intent_services/converse_service.py b/ovos_core/intent_services/converse_service.py index 81313ab7efd0..4a3e6e0d8a1f 100644 --- a/ovos_core/intent_services/converse_service.py +++ b/ovos_core/intent_services/converse_service.py @@ -68,8 +68,6 @@ def deactivate_skill(self, skill_id, source_skill=None, message=None): session = SessionManager.get(message) if session.is_active(skill_id): # update converse session - if message: - session.update_history(message) session.deactivate_skill(skill_id) # keep message.context @@ -96,8 +94,6 @@ def activate_skill(self, skill_id, source_skill=None, message=None): if self._activate_allowed(skill_id, source_skill): # update converse session session = SessionManager.get(message) - if message: - session.update_history(message) session.activate_skill(skill_id) # keep message.context @@ -263,7 +259,6 @@ def converse(self, utterances, skill_id, lang, message): state = session.utterance_states.get(skill_id, UtteranceState.INTENT) if state == UtteranceState.RESPONSE: - session.update_history(message) converse_msg = message.reply("skill.converse.get_response", {"skill_id": skill_id, "utterances": utterances, @@ -272,7 +267,6 @@ def converse(self, utterances, skill_id, lang, message): return True if self._converse_allowed(skill_id): - session.update_history(message) converse_msg = message.reply("skill.converse.request", {"skill_id": skill_id, "utterances": utterances, diff --git a/requirements/requirements.txt b/requirements/requirements.txt index ecf8b3316e32..ce854456456f 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -6,7 +6,7 @@ combo-lock>=0.2.2, <0.3 padacioso~=0.2, >=0.2.1a8 adapt-parser>=1.0.0, <2.0.0 -ovos-bus-client<0.1.0, >=0.0.6a9 +ovos-bus-client<0.1.0, >=0.0.6a10 ovos-utils<0.1.0, >=0.0.36a8 ovos-plugin-manager<0.1.0, >=0.0.24a9 ovos-config~=0.0,>=0.0.11a13