Skip to content

Commit

Permalink
code updates (#1590)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitallysavvy authored Sep 29, 2024
1 parent 07820a0 commit 8bb67ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shared/open-ai-integration/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ from realtimeapi.client import RealtimeApiClient
from realtimeapi.util import SAMPLE_RATE, CHANNELS

from agora_realtime_ai_api.rtc import Channel, ChatMessage, RtcEngine, RtcOptions
from .parse_args import parse_args_realtimekit
from parse_args import parse_args_realtimekit

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -452,7 +452,7 @@ The `setup_and_run_agent` method connects to an Agora channel using `RtcEngine`,
The constructor for `RealtimeKitAgent` sets up the OpenAI client, optional tools, and Agora channel to manage real-time audio communication. In `agent.py`, add the following code after the `setup_and_run_agent` method:

```python
@classmethod
@classmethod
async def entry_point(
cls,
*,
Expand Down Expand Up @@ -942,7 +942,7 @@ from realtimeapi.client import RealtimeApiClient
from realtimeapi.util import SAMPLE_RATE, CHANNELS

from agora_realtime_ai_api.rtc import Channel, ChatMessage, RtcEngine, RtcOptions
from .parse_args import parse_args_realtimekit
from parse_args import parse_args_realtimekit

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 8bb67ad

Please sign in to comment.