Skip to content

Commit

Permalink
Update routing context and MQ client version for compat. (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel authored Aug 11, 2023
1 parent 87fc013 commit 46ff16c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion neon_iris/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def _build_message(self, msg_type: str, data: dict,
"ident": ident or str(time()),
"username": username,
"user_profiles": user_profiles or list(),
"klat_data": {"routing_key": self.uid}
"mq": {"routing_key": self.uid,
"message_id": self.connection.create_unique_id()}
})

def _send_utterance(self, utterance: str, lang: str,
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ click~=8.0
click-default-group~=1.2
neon-utils~=1.0
pyyaml>=5.4,<7.0.0
neon-mq-connector~=0.7,>=0.7.1a3
neon-mq-connector~=0.7,>=0.7.1a4
ovos-bus-client~=0.0.3

0 comments on commit 46ff16c

Please sign in to comment.