Who claims it, in their own words, and what else was read.
“This marks the first time AI has been used on Mars to make autonomous decisions based on real-time analysis of rock composition.”
NASA JPL: the operator. Published 16 Jul 2024. Adaptive sampling on Perseverance's PIXL instrument
Stands as worded. Nothing read contradicts the claim in the scope its maker gave it.
Scoped to decisions made from real-time analysis of rock composition. AEGIS chose targets on Mars from camera images from 2010, which is earlier and is a different thing.
“AEGIS was first demonstrated on the MER rover Opportunity in 2010, where it selected targets for the Pancam imager”
JPL Artificial Intelligence Group: the developer. Published undated. AEGIS on the Mars rovers Opportunity, Curiosity and Perseverance