early-bear-84446
08/29/2025, 10:26 AMsession: AgentSession = make_session(...)
agent: Agent = make_agent(...)
await session.start(agent) // This will create RoomIO, but what we really want here is the response from llm directly so:
result = await session.run(user_input="Some input, i'd be good if we have an option to pass a some sort of text stream here")
# The only option i found is to:
for ev in result.events:
... but here, the responses are already merged (strings instead of streams)
# but the api I'm looking for (or similar):
async for chunk in session.llm.start_stream():
yield chunk
Is there an option to remain agent handoffs / and other cool stuff but avoid webrtc transport? I mean - i get that it LiveKit Agents are webrtc based, but we do not want to resign from the agents handoff features etc just because we need only textual data. Ofc it is always the option to separate common business logic from the agents for good and try to roll our own solution around just llm api, or go to already built text-based agent frameworks.refined-appointment-81829
08/29/2025, 4:56 PMrefined-appointment-81829
08/29/2025, 4:58 PMearly-bear-84446
08/30/2025, 12:00 PM