OpenVoiceOS / ovos-core

OpenVoiceOS Core, the FOSS Artificial Intelligence platform.
https://openvoiceos.org
Apache License 2.0
147 stars 17 forks source link

add "ovos.utterance.cancelled" event #404

Closed JarbasAl closed 9 months ago

JarbasAl commented 9 months ago

emit a bus event and exit faster if utterance is canceled

example cancel plugin https://github.com/OpenVoiceOS/ovos-utterance-plugin-cancel

codecov[bot] commented 9 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (9b03537) 63.48% compared to head (66d9403) 63.41%. Report is 1 commits behind head on dev.

Files Patch % Lines
ovos_core/intent_services/__init__.py 25.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #404 +/- ## ========================================== - Coverage 63.48% 63.41% -0.08% ========================================== Files 14 14 Lines 2065 2069 +4 ========================================== + Hits 1311 1312 +1 - Misses 754 757 +3 ``` | [Flag](https://app.codecov.io/gh/OpenVoiceOS/ovos-core/pull/404/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenVoiceOS) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/OpenVoiceOS/ovos-core/pull/404/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenVoiceOS) | `63.41% <40.00%> (-0.08%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenVoiceOS#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

goldyfruit commented 9 months ago

Works for me,