Skip to content

Commit

Permalink
- Added async consumers support
Browse files Browse the repository at this point in the history
- Dropped support for Python 3.7
- Updated requirements
  • Loading branch information
kirgrim committed Dec 3, 2024
1 parent 681da74 commit dcd2450
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion chatbot_core/v2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NEON AI (TM) SOFTWARE, Software Development Kit & Application Development System
#
# Copyright 2008-2021 Neongecko.com Inc. | All Rights Reserved
# Copyright 2008-2024 Neongecko.com Inc. | All Rights Reserved
#
# Notice of License - Duplicating this Notice of License near the start of any file containing
# a derivative of this software is a condition of license for this software.
Expand Down Expand Up @@ -32,6 +32,8 @@
class ChatBot(KlatAPIMQ, ChatBotABC):
"""MQ-based chatbot implementation"""

async_consumers_enabled = True

def __init__(self, *args, **kwargs):
config, service_name, vhost, bot_type = self.parse_init(*args, **kwargs)
mq_config = config.get("MQ") or config
Expand Down
8 changes: 4 additions & 4 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click~=8.0
klat-connector==0.6.2a15
neon-mq-connector==0.7.2a5
neon_utils[network]~=1.0
ovos-bus-client~=0.0.5
klat-connector>=0.6.2a15
psutil~=5.7
neon_utils[network]~=1.0
neon-mq-connector~=0.7,>=0.7.1
click~=8.0

0 comments on commit dcd2450

Please sign in to comment.