wide-tailor-66933
10/02/2025, 4:18 AMFallbackAdapter with livekit inference?
3. Just curious, why not openai.stt.STT.with_livekit (or something like this) API?brave-island-45242
10/02/2025, 2:45 PMfrom livekit.agents import AgentSession, inference
session = AgentSession(
llm=inference.LLM(
model="google/gemini-2.5-flash-lite",
extra_kwargs={
"max_completion_tokens": 1000
}
),
# ... tts, stt, vad, turn_detection, etc.
)
So I'd guess it will work with the fallback adapter without issues. For the settings it might be worth to look into the extra keyword args field. The LLM one has a typed dict ChatCompletionOptions with several options.wide-tailor-66933
10/06/2025, 3:49 AM