Add can_generate_metrics to Soniox and AWS Transcribe STT services

Commit 859cd7c9 refactored STT TTFB measurement to use the base class
start_ttfb_metrics/stop_ttfb_metrics, which are gated behind
can_generate_metrics(). Soniox and AWS Transcribe never overrode this
method (default returns False), so TTFB was silently never reported.
This commit is contained in:
Mark Backman
2026-02-24 12:53:55 -05:00
parent 081aaa50dc
commit 6f7664846c
3 changed files with 17 additions and 0 deletions

1
changelog/3813.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed STT TTFB metrics not being reported for `SonioxSTTService` and `AWSTranscribeSTTService` due to missing `can_generate_metrics()` override.