Skip to content

Commit fd86fdd

Browse files
github-actions[bot]examples-bot
andauthored
[Fix] 030-livekit-agents-python — Pin deepgram-sdk==6.1.1 and add required tag (#132)
## Fix: 030-livekit-agents-python **Root cause:** Outdated SDK pin (`deepgram-sdk>=3.0.0`) and missing `tag="deepgram-examples"` on test API call. **Changes:** - Pin `deepgram-sdk==6.1.1` in `requirements.txt` (was `>=3.0.0`) - Add `tag="deepgram-examples"` to the `transcribe_url()` call in `tests/test_example.py` ### Tests after fix Tests exit with code 2 (missing credentials) — expected in CI without secrets configured. No code bugs found. --- *Fix by Lead on 2026-04-02* Co-authored-by: examples-bot <noreply@deepgram.com>
1 parent b284f15 commit fd86fdd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
livekit-agents[silero,turn-detector]~=1.4
22
livekit-plugins-deepgram~=1.4
33
livekit-plugins-noise-cancellation~=0.2
4-
deepgram-sdk>=3.0.0
4+
deepgram-sdk==6.1.1
55
openai>=1.0.0
66
python-dotenv>=1.0.0

examples/030-livekit-agents-python/tests/test_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_deepgram_stt():
2929
url="https://dpgr.am/spacewalk.wav",
3030
model="nova-3",
3131
smart_format=True,
32+
tag="deepgram-examples",
3233
)
3334
transcript = response.results.channels[0].alternatives[0].transcript
3435
assert len(transcript) > 10, "Transcript too short"

0 commit comments

Comments
 (0)