```from google.genai.types import Modality sessio...
# agents
r
Copy code
from google.genai.types import Modality

session = AgentSession(
    llm=google.beta.realtime.RealtimeModel(modalities=[Modality.TEXT]),
    tts=cartesia.TTS(),
)
When I use Gemini Live API with a different TTS provider, I configure it with a text-only response modality and include a TTS plugin in the`AgentSession` configuration. However, the model is now too verbose