async def bot(args: WebSocketSessionArguments):
    """Main bot entry point for WebSocket connections.

    Args:
        ws: The WebSocket connection
        session_logger: The session-specific logger
    """
    logger.info("WebSocket bot process initialized")

    try:
        await main(args.websocket)
        logger.info("WebSocket bot process completed")
    except Exception as e:
        logger.exception(f"Error in WebSocket bot process: {str(e)}")
        raise
Main bot entry point for WebSocket connections.

    Args:
        ws: The WebSocket connection
        session_logger: The session-specific logger
    
examples/word-wrangler-gemini-live/server/bot_phone_twilio.py