Open
Conversation
Member
|
hi, thank you for the PR! could you sign the CLA and add the plugin to livekit-agents/pyproject.toml and pyproject.toml |
* D-ID avatar plugin (#1) * D-ID avatar plugin * ruff * formatting * updating uv.lock * Add D-ID to pyproject.toml as vendor
* upstream/main: feat(soniox): expose max_endpoint_delay_ms option (livekit#5214)
* upstream/main: fix: only start session host when it's primary session (livekit#5241) fix: prevent TTS retry after partial audio and replay input on retry (livekit#5242)
* upstream/main: fix: prevent CancelledError from propagating to unrelated Tee peers (livekit#5273)
Member
tinalenguyen
left a comment
There was a problem hiding this comment.
i left a few comments, also some feedback i have is that it's a bit tricky to find public avatar IDs to use with the plugin. i would recommend making it easier to find on the dashboard and also having a DEFAULT_AGENT_ID here as well so users can try it right away
| self._agent_id = agent_id | ||
| self._audio_config = audio_config or AudioConfig() | ||
| self.session_id: str | None = None | ||
|
|
Member
There was a problem hiding this comment.
we should throw an informative error if the agent_id isn't given here
| "transport": transport, | ||
| "audio_config": audio_config, | ||
| } | ||
| response_data = await self._post(f"v2/agents/{agent_id}/sessions/join", payload) |
Member
There was a problem hiding this comment.
are only v2 avatars supported for the plugin? it might be worth making a note in the readme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
livekit-plugins-did— a D-ID virtual avatar plugin for LiveKit Agents.examples/avatar_agents/did/AudioConfigdataclass