Skip to content

Commit

Permalink
Merge branch 'changeset-release/main' of https://github.com/livekit/a…
Browse files Browse the repository at this point in the history
…gents into changeset-release/main
  • Loading branch information
theomonnom committed Nov 2, 2024
2 parents 67b3c85 + 75c7f82 commit 5047a2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions livekit-agents/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

- fix: invalid request on anthropic - [#1018](https://github.com/livekit/agents/pull/1018) ([@theomonnom](https://github.com/theomonnom))

- fix: IndexError on tts metrics - [#1028](https://github.com/livekit/agents/pull/1028) ([@theomonnom](https://github.com/theomonnom))

## 0.11.0

### Minor Changes
Expand Down
3 changes: 3 additions & 0 deletions livekit-agents/livekit/agents/tts/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ def _emit_metrics():
nonlocal start_time, audio_duration, ttfb, request_id
duration = time.perf_counter() - start_time

if not self._mtc_pending_texts:
return

text = self._mtc_pending_texts.pop(0)
if not text:
return
Expand Down

0 comments on commit 5047a2b

Please sign in to comment.