### Answer
When you use a custom LLM with Retell AI, you are responsible for handling the conversational logic and responses in your own backend, connected via WebSocket [(1) ](
) [(2) ](
) [(3) ](
) [(4) ](
) . The Retell platform sends events (such as transcript updates, response requests, etc.) to your server, but the documentation does not provide a direct way to programmatically set agent voice, background sound, or other agent-level settings through your custom LLM code .
- Voice selection and background sound are configured in the Retell agent settings UI [(5) ](
) , but there is no documented method to override these settings dynamically from your custom LLM backend [(5) ](
) [(1) ](
) [(2) ](
) .
- The custom LLM integration focuses on handling conversation content (what the agent says, how it responds, when to end the call, etc.) , not the telephony/media layer (voice, sound effects) [(1) ](
) [(2) ](
) .
- You can control conversation logic, response timing, interruption handling, and content from your backend, but not the underlying voice or sound settings .
To summarize: all audio/media configuration (voice, background sound) must be set in the Retell UI, not in your WebSocket code. Your custom LLM backend only controls the conversation content and flow, not the media presentation [