^^^^^^^^^^^^^^^^^ TypeError: RealtimeCapabilities....
# ask-ai
r
^^^^^^^^^^^^^^^^^ TypeError: RealtimeCapabilities.__init__() missing 1 required positional argument: 'manual_function_calls' 2025-09-21 063022,616 - ERROR livekit.agents - unhandled exception while running the job task Traceback (most recent call last): File "/home/azureuser/elif/.venv/lib/python3.12/site-packages/opentelemetry/util/_decorator.py", line 71, in async_wrapper return await func(*args, **kwargs) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/elif/.venv/lib/python3.12/site-packages/livekit/agents/ipc/job_proc_lazy_main.py", line 240, in _traceable_entrypoint await self._job_entrypoint_fnc(job_ctx) File "/home/azureuser/elif/agent.py", line 94, in entrypoint model = openai.realtime.RealtimeModel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/azureuser/elif/.venv/lib/python3.12/site-packages/livekit/plugins/openai/realtime/realtime_model.py", line 247, in init capabilities=llm.RealtimeCapabilities( ^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: RealtimeCapabilities.__init__() missing 1 required positional argument: 'manual_function_calls' {"pid": 462121, "job_id": "AJ_6mJPpQvXpFpg"}
t
Thanks for reaching out, Rhythm. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The error message suggests that the 'manual_function_calls' argument is missing when initializing 'RealtimeCapabilities'. To better assist you, could you please share a bit more about the situation? Specifically: • Which version of LiveKit are you currently using? • Have there been any recent changes or updates to your code or environment? • What exactly are you trying to do when this error pops up? Your answers will really help us get to the bottom of this together.
r
latest livekit version; this issue has been casued by that
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
h
@rhythmic-furniture-71949 were you able to resolve this issue? If yes can you please share. Encountering the same problem