hey guys, when using AWS nova sonic with livekit, ...
# agents
f
hey guys, when using AWS nova sonic with livekit, has anybody worked around where the agent first greets/talks first. Apparently I get error when using generate_reply method
Copy code
uture: <Task finished name='AgentActivity.realtime_reply' coro=<AgentActivity._realtime_reply_task() done, defined at /home/suman/wacbd-app/backend/.venv/lib/python3.13/site-packages/livekit/agents/utils/log.py:13> exception=RealtimeError("unprompted generation is not supported by Nova Sonic's Realtime API")> 
Traceback (most recent call last):
  File "/home/suman/wacbd-app/backend/.venv/lib/python3.13/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs
    return await fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/suman/wacbd-app/backend/.venv/lib/python3.13/site-packages/livekit/agents/voice/agent_activity.py", line 1859, in _realtime_reply_task
    generation_ev = await self._rt_session.generate_reply(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        instructions=instructions or NOT_GIVEN
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
livekit.agents.llm.realtime.RealtimeError: unprompted generation is not supported by Nova Sonic's Realtime API
m
This is not possible with Novasonic.