livekit / agents

Build real-time multimodal AI applications 🤖🎙️📹
https://docs.livekit.io/agents
Apache License 2.0
4.07k stars 427 forks source link

feat: tts retry & tts.FallbackAdapter #1074

Closed theomonnom closed 1 week ago

theomonnom commented 1 week ago

requires https://github.com/livekit/rust-sdks/pull/486

This also adds:

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 5e936cfd5d194645422d24899079481c1e134621

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | -------------------------- | ----- | | livekit-agents | Patch | | livekit-plugins-azure | Patch | | livekit-plugins-cartesia | Patch | | livekit-plugins-elevenlabs | Patch | | livekit-plugins-google | Patch | | livekit-plugins-openai | Patch | | livekit-plugins-playht | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

theomonnom commented 1 week ago

I'm going to simplify the "recovery request" with an hardcoded string like. "Hello world, this is a random text". So I don't have to keep track of the user input. I guess it is fine, wdyt @livekit/agent-devs

davidzhao commented 1 week ago

I'm going to simplify the "recovery request" with an hardcoded string like. "Hello world, this is a random text".

Can you elaborate when this is used? I'm not a fan of hardcoded, language-specific strings in general.

theomonnom commented 1 week ago

I'm going to simplify the "recovery request" with an hardcoded string like. "Hello world, this is a random text".

Can you elaborate when this is used? I'm not a fan of hardcoded, language-specific strings in general.

Please ignore, I didn't think about languages, true that hardcoded strings isn't good in that case.