Inclusion Criteria:
1. histologically confirmed biliary tract carcinoma (including intrahepatic bile duct, extrahepatic bile duct, ampulla of Vater cancer, and gallbladder);
2. metastatic or unresectable disease;
3. no history of chemotherapy or radiotherapy or immunotherapy for biliary tract cancer, except for patients who experienced recurrence at least six months after completing adjuvant therapy;
4. presence of at least one measurable tumor lesion which is defined as lesions that can be accurately measured in at least 1 dimension with longest diameter (LD) ≥20 mm using conventional techniques or ≥10 mm with spiral CT and MRI; measurable lymph nodes must be ≥15 mm in the short axis;
5. must have PD-L1 testing with results performed by a local laboratory during the screening period
6. adequate hematopoietic function which is defined as below:
1. hemoglobin level ≥ 9 g/dL;
2. absolute neutrophil count (ANC) ≥ 1,500/mm3;
3. platelet count ≥ 100,000/mm3;
7. adequate hepatic function which is defined as below:
1. total bilirubin ≤ 2 times upper limit of normal (ULN);
2. Alanine aminotransferase (ALT) ≤ 3 x ULN; if liver metastasis, ALT ≤ 5 x ULN
8. adequate renal function: creatinine clearance rate (CCr) ≥ 50 mL/min, calculated by Cockroft-Gault formula;\< Cockroft-Gault formula \> Male: ((140 - age) × weight \[kg\])/(72 × serum creatinine\[mg/dL\]) Female: 0.85 x estimate for male
9. age of 18 years or above
10. ECOG performance status 0-1;
11. life expectancy of at least 12 weeks;
12. ability to understand and willingness to sign a written informed consent document.
13. Subjects with chronic hepatitis B virus infection (HBV surface antigen (HBsAg) positive) must start antiviral therapy with nucleoside analogs (e.g., entecavir or tenofovir, according to current practice guidelines) before start of study drug treatment.
Exclusion Criteria:
1. other malignancy within the past 2 years except for adequately treated basal or squamous cell skin cancer or cervical cancer in situ;
2. history or known presence of brain metastasis;
3. presence of grade 2 or above ascites or pleural effusion;
4. presence of grade 2 or above diarrhea;
5. presence of mental disease or psychotic manifestation;
6. active or uncontrolled infection;
7. Significant medical conditions that are contraindicated to study medication or render the patient at high risk from treatment complications, such as: Biliary tract-related infection or sepsis. Uncontrolled biliary obstruction. Ongoing grade ≥2 infection at any site despite appropriate therapy.;
8. Uncontrolled or significant cardiovascular disease including, but not limited to, any of the following:
* Myocardial infarction (MI) or stroke/transient ischemic attack within the 6 months prior to consent
* Uncontrolled angina within the 3 months prior to consent
* Any history of clinically significant arrhythmias (such as ventricular tachycardia, ventricular fibrillation, torsades de pointes or poorly controlled atrial fibrillation)
* QTc prolongation \> 480 msec
* History of other clinically significant cardiovascular disease (ie, cardiomyopathy, congestive heart failure with New York Heart Association functional classification III-IV, pericarditis, significant pericardial effusion, significant coronary stent occlusion, poorly controlled deep venous thrombosis, etc.)
* Cardiovascular disease-related requirement for daily supplemental oxygen
* History of 2 or more MIs OR 2 or more coronary revascularization procedures
* Participants with history of myocarditis, regardless of etiology
* Troponin T (TnT) or I (TnI) \> 2 institutional ULN. Participants with TnT or TnI levels between \> 1 to 2 × ULN will be permitted if repeat levels within 24 hours are ≤ 1 × ULN. If TnT or TnI levels are between \>1 to 2 × ULN within 24 hours, the participant may undergo a cardiac evaluation and be considered for treatment, based on a favorable benefit-risk assessment by the Investigator.
9. Pregnant women or nursing mothers, or positive pregnancy test for women of childbearing potential. Patients with childbearing potential shall have effective contraception for both the patient and his or her partner during the study and 5 months after treatment completion. Individuals of childbearing potential and male participants with a partner with childbearing potential should be counselled on the importance of pregnancy prevention and the potential of fetal toxicity occurring due to transmission of study intervention via seminal fluid to a developing fetus.