Skip to content

Commit 323b146

Browse files
authored
Cleanup Intent Service (#575)
Co-authored-by: Daniel McKnight <daniel@neon.ai>
1 parent 127ce30 commit 323b146

File tree

4 files changed

+5
-87
lines changed

4 files changed

+5
-87
lines changed

neon_core/skills/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828

2929
from neon_core.skills.service import NeonSkillService
30-
# from neon_core.skills.padatious_service import PadatiousService
3130
from neon_utils.log_utils import init_log
3231
from ovos_utils.log import LOG
3332
from ovos_utils.process_utils import reset_sigint_handler, PIDLock as Lock

neon_core/skills/intent_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ def handle_utterance(self, message):
239239
self.bus.emit(reply)
240240
return
241241

242-
if lang.split('-')[0] in self.supported_languages:
243-
LOG.debug(f'Native language support ({lang})')
242+
if message.data["lang"].split('-')[0] in self.supported_languages:
243+
LOG.debug(f'Native language support ({message.data["lang"]})')
244244
if message.context.get("translation_data") and \
245245
message.context.get("translation_data")[0].get(
246246
"was_translated"):

neon_core/skills/padatious_service.py

Lines changed: 0 additions & 83 deletions
This file was deleted.

requirements/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ ovos-core==0.0.7
44
ovos-plugin-common-play~=0.0.5
55

66
# utils
7-
neon-utils[network]~=1.7
7+
neon-utils[network,audio]~=1.7,>=1.7.1a2
8+
# TODO audio extra patching dependency resolution
9+
810
ovos-utils~=0.0.35
911
ovos-bus-client~=0.0.5
1012
neon-transformers~=0.2

0 commit comments

Comments
 (0)