This study will explore the efficacy and safety of ivosidenib as maintenance therapy in patients with IDH1-mutated AML and high-risk MDS who are ineligible for transplantation, along with accompanying molecular biomarker research. Patients who meet the eligibility criteria will receive ivosidenib treatment until disease progression or unacceptable toxicity. This study will provide an effective maintenance treatment option for transplant-ineligible patients with IDH1-mutated AML and high-risk MDS.