Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(call): call transcription version pin (#3002)

Will Hutchinson98b7bea6fe40
diff --git a/agents/transcription/requirements.txt b/agents/transcription/requirements.txt
index 3c5d778b26..3eda388b6a 100644
--- a/agents/transcription/requirements.txt
+++ b/agents/transcription/requirements.txt
@@ -1,3 +1,3 @@
python-dotenv
-livekit-agents[silero]
+livekit-agents[silero]==1.5.7
httpx
diff --git a/agents/transcription/transcriber.py b/agents/transcription/transcriber.py
index 1e5e56ec63..8e73e1ba15 100644
--- a/agents/transcription/transcriber.py
+++ b/agents/transcription/transcriber.py
@@ -108,7 +108,7 @@ class Transcriber(Agent):
# speech ends + endpointing) and back-calculate the start
# from the word-span duration.
speech_end = datetime.now(timezone.utc)
- span = max(words[-1].end - words[0].start, 0.0)
+ span = max(words[-1].end_time - words[0].start_time, 0.0)
speech_start = speech_end - timedelta(seconds=span)
if (
self._pending_started_at is None