Tissue- and blood-based molecular analysis could help match patients with advanced hepatocellular carcinoma or hepatocholangiocarcinoma following disease progression on frontline atezolizumab and bevacizumab to targeted therapy or another TKI based on identified genomic alterations.