Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshp19 committed Dec 29, 2024
1 parent 3a02aad commit 4cdd31f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions livekit-agents/livekit/agents/multimodal/multimodal_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import asyncio
from dataclasses import dataclass
from typing import AsyncIterable, Callable, Literal, Protocol
from typing import Any, AsyncIterable, Callable, Literal, Protocol

import aiohttp
from livekit import rtc
Expand Down Expand Up @@ -31,7 +31,7 @@
class _InputTranscriptionProto(Protocol):
item_id: str
"""id of the item"""
transcript: str | None
transcript: str
"""transcript of the input audio"""


Expand Down Expand Up @@ -70,6 +70,7 @@ def session(

class _RealtimeAPISession(Protocol):
async def set_chat_ctx(self, ctx: llm.ChatContext) -> None: ...
def on(self, event_name: str, handler: Callable[..., Any]) -> None: ...
def _push_audio(self, frame: rtc.AudioFrame) -> None: ...
@property
def fnc_ctx(self) -> llm.FunctionContext | None: ...
Expand Down

0 comments on commit 4cdd31f

Please sign in to comment.