Skip to content

Commit 961f1c4

Browse files
authored
Update agent.py to use gateway
1 parent bef46d1 commit 961f1c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def __init__(self) -> None:
2424

2525
async def entrypoint(ctx: JobContext):
2626
session = AgentSession(
27-
llm=openai.LLM(model="gpt-4o-mini"),
28-
stt=deepgram.STT(model="nova-3", language="multi"),
29-
tts=openai.TTS(voice="marin"),
27+
stt="deepgram/nova-3",
28+
llm="openai/gpt-4.1-mini",
29+
tts="cartesia/sonic-2",
3030
vad=silero.VAD.load(),
3131
)
3232

0 commit comments

Comments
 (0)