Skip to content

Speechmatics Agent STT: VAD log level and CI fixes for pipecat-ai/pipecat#5631 - #2

Merged
Smiljanic19A merged 3 commits into
speechmatics:DEL-34980-migrate-to-agent-sttfrom
pipecat-ai:mb/agent-stt-ci-fixes
Sep 11, 2026
Merged

Smiljanic19A merged 3 commits into
speechmatics:DEL-34980-migrate-to-agent-sttfrom
pipecat-ai:mb/agent-stt-ci-fixes

Conversation

@markbackman

Copy link
Copy Markdown

Follow-up to pipecat-ai#5631, targeting the PR branch. Three commits:

  • VAD stop frame logged at debug level in VAD mode. A pipeline VAD alongside the service's own turn detection is a supported setup: its frames drive the base class's TTFB metrics and reconnect gating, so the frame is expected and no longer warned about.
  • tests/test_speechmatics_stt.py skips when the SDK is absent. The module imported speechmatics.agent_stt at import time, which is why the Unit Tests and Coverage jobs on Migrate Speechmatics STT service to new Agent STT pipecat-ai/pipecat#5631 failed at collection with ModuleNotFoundError: No module named 'speechmatics'. It now uses pytest.importorskip, like the other SDK-bound tests.
  • CI installs the speechmatics extra in the unit test and coverage jobs, so the 55 offline tests run there instead of being skipped.

Verified locally: 55 passed with the SDK installed; the module reports one skip when speechmatics.agent_stt cannot be imported; ruff and the workflow YAML parse are clean.

A pipeline VAD alongside the service's own turn detection is a supported
setup: its frames drive the base class's TTFB metrics and reconnect
gating. The stop frame is therefore noted at debug level rather than
warned about.
The test module imports speechmatics.agent_stt at import time, so a
test environment without the speechmatics extra failed collection. It
now skips through pytest.importorskip, like the other SDK-bound tests.
The Speechmatics STT tests run offline against the SDK's config and
message types, so the SDK is installed in both jobs for them to count.
@Smiljanic19A
Smiljanic19A merged commit 3bccffc into speechmatics:DEL-34980-migrate-to-agent-stt Sep 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants