The final prediction model included 7 variables: ECOG PS score, tumor stage, tumor tissue Her2 expression status, anti-PD-1 treatment lines, peritoneal metastasis, CONUT, and beneficial irAE. Here, ERBB2 is linked to neoplasm.