Skip to content

fix(aws): support transcribe streaming config rename - #6959

Merged
tinalenguyen merged 3 commits into
livekit:mainfrom
mikemikimike:fix/aws-transcribe-config-6958
Aug 26, 2026
Merged

fix(aws): support transcribe streaming config rename#6959
tinalenguyen merged 3 commits into
livekit:mainfrom
mikemikimike:fix/aws-transcribe-config-6958

Conversation

@mikemikimike

@mikemikimike mikemikimike commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #6958. aws-sdk-transcribe-streaming 0.10 renamed the exported Config symbol to lowercase config, causing the AWS STT plugin's optional import block to fail and report the dependency as unavailable.

Changes

  • Keep importing Config on versions that expose it.
  • Fall back to the renamed lowercase config symbol on 0.10+.

Validation

  • ruff check livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/stt.py
  • ruff format --check livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/stt.py
  • python -m py_compile livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/stt.py
  • git diff --check

The locked environment could not download/resolve aws-sdk-transcribe-streaming==0.10.0, so live SDK import validation remains environment-limited.

@mikemikimike
mikemikimike requested a review from a team as a code owner August 24, 2026 03:22

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@tinalenguyen tinalenguyen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the pr!

@tinalenguyen
tinalenguyen merged commit a359dca into livekit:main Aug 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugins-aws: STT unusable with aws-sdk-transcribe-streaming ≥0.10.0

2 participants