Skip to content

Commit

Permalink
refactor: simplify cq messages
Browse files Browse the repository at this point in the history
avoid skills needing to check their skill_id, trigger the intended skill directly instead
  • Loading branch information
JarbasAl committed Jan 4, 2025
1 parent 4dafdc4 commit 6dc9fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_workshop/skills/common_query_skill.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def bind(self, bus):
# announce skill to ovos-core
def __handle_common_query_ping(self, message):
self.bus.emit(message.reply("ovos.common_query.pong",
{"skill_id": self.skill_id},
{"skill_id": self.skill_id, "is_classic_cq": True},
{"skill_id": self.skill_id}))

def __handle_question_query(self, message: Message):
Expand Down

0 comments on commit 6dc9fd9

Please sign in to comment.