Skip to content
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

[draft] Support STT with Google realtime API #1321

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updates
jayeshp19 committed Jan 14, 2025

Verified

This commit was signed with the committer’s verified signature.
dankamongmen nick black
commit fc10e5e7913cbc4b59f6c2b977273795262293f3
6 changes: 3 additions & 3 deletions livekit-agents/livekit/agents/multimodal/multimodal_agent.py
Original file line number Diff line number Diff line change
@@ -380,9 +380,9 @@ async def _run_task(delay: float) -> None:
await asyncio.sleep(delay)

if self._room.isconnected():
await self._room.local_participant.set_attributes({
ATTRIBUTE_AGENT_STATE: state
})
await self._room.local_participant.set_attributes(
{ATTRIBUTE_AGENT_STATE: state}
)

if self._update_state_task is not None:
self._update_state_task.cancel()