这是indexloc提供的服务,不要输入任何密码
Skip to content

add artificial delay between consecutive speech handles #2492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

longcw
Copy link
Contributor

@longcw longcw commented Jun 3, 2025

No description provided.

@longcw longcw requested a review from a team June 3, 2025 07:02
Copy link
Contributor

github-actions bot commented Jun 3, 2025

❌ Invalid Changeset Format Detected

One or more changeset files in this PR have an invalid format. Please ensure they adhere to:

  • Start with --- and include a closing --- on its own line.
  • Each package line must be in the format:
    "package-name": patch|minor|major
  • No duplicate package entries allowed.
  • A non-empty change description must follow the front matter.

Error details:
.github/next-release/changeset-e5f787fd.md: Failed to read file from git branch 'pr_head'.

@longcw longcw merged commit a7e03b0 into main Jun 3, 2025
16 of 22 checks passed
@longcw longcw deleted the longc/delay-between-speech branch June 3, 2025 13:08
@@ -119,6 +120,7 @@ def __init__(
max_tool_steps: int = 3,
video_sampler: NotGivenOr[_VideoSampler | None] = NOT_GIVEN,
user_away_timeout: float | None = 15.0,
min_consecutive_speech_delay: float = 0.0,
Copy link
Member

Choose a reason for hiding this comment

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

is this the right default? or should we consider raising?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the artificial delay is only required for some specific tts providers without any silent padding. So by default there is no delay.

hsjun99 pushed a commit to fleek-fitness/livekit-agent-voxai that referenced this pull request Jun 26, 2025
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.

3 participants