Skip to content

Commit

Permalink
fix/universal converse (#192)
Browse files Browse the repository at this point in the history
also translate converse message in UniversalSkills
  • Loading branch information
JarbasAl authored Mar 20, 2024
1 parent c84124f commit 42d03d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ovos_workshop/skills/auto_translatable.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ def speak(self, utterance: str, *args, **kwargs):
kwargs["meta"] = meta
super().speak(utterance, *args, **kwargs)

def _handle_converse_request(self, message: Message):
message = self.translate_message(message)
super()._handle_converse_request(message)


class UniversalFallback(UniversalSkill, FallbackSkillV2):
"""
Expand Down

0 comments on commit 42d03d8

Please sign in to comment.