Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Intent Service #575

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion neon_core/skills/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from neon_core.skills.service import NeonSkillService
# from neon_core.skills.padatious_service import PadatiousService
from neon_utils.log_utils import init_log
from ovos_utils.log import LOG
from ovos_utils.process_utils import reset_sigint_handler, PIDLock as Lock
Expand Down
4 changes: 2 additions & 2 deletions neon_core/skills/intent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def handle_utterance(self, message):
self.bus.emit(reply)
return

if lang.split('-')[0] in self.supported_languages:
LOG.debug(f'Native language support ({lang})')
if message.data["lang"].split('-')[0] in self.supported_languages:
LOG.debug(f'Native language support ({message.data["lang"]})')
if message.context.get("translation_data") and \
message.context.get("translation_data")[0].get(
"was_translated"):
Expand Down
83 changes: 0 additions & 83 deletions neon_core/skills/padatious_service.py

This file was deleted.

4 changes: 3 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ovos-core==0.0.7
ovos-plugin-common-play~=0.0.5

# utils
neon-utils[network]~=1.7
neon-utils[network,audio]~=1.7,>=1.7.1a2
# TODO audio extra patching dependency resolution

ovos-utils~=0.0.35
ovos-bus-client~=0.0.5
neon-transformers~=0.2
Expand Down
Loading