red-agent-48266
09/13/2025, 12:23 PMtall-airline-16756
09/13/2025, 12:23 PMtall-airline-16756
09/13/2025, 12:24 PMRealtimeModel
instance to the MultimodalAgent
isn't because of the argument type itself—that part seems to be correct! The issue might be coming from a few other areas:
• Authentication Failure: Please make sure your apiKey
is valid and properly set in the RealtimeModel
constructor.
• Invalid Parameters: It’s a good idea to double-check that the model
and voice
values you’re using are supported.
• Network Issues: Sometimes connectivity hiccups with the API can cause problems, so a quick check there might help.
• Type Confusion: Confirm that your RealtimeModel
instance is correctly constructed and fully compatible with the MultimodalAgent
.
Taking a closer look at these points should help uncover what’s causing the error. If you’d like, I’m here to help you troubleshoot further—just let me know!
Sources: agent.py | src/agent.ts | Working with the MultimodalAgent class | LiveKit Docs | sip-refer/agent.py | agent/main.py