idk about that, the AI already knows how much we have in the field, how much they have in the field, and how much we each have in reserve
It then comes down to a check (perhaps every 10 seconds? Maybe less?) of our strength on the field vs theirs, then either A) fight on, B) Deploy stuff, or C) Retreat
In this case, A means the advantage is satisfactory, B means it's worth the extra CR loss to finish the fight now/continue fighting, and C means retreating is optimal, either into an escape to minimize losses, or come back for a second around against your fleet after you wasted CR
Then everything proceed as normal, if they retreated and gained a CR advantage, the existing AI should conclude fighting as a better choice, and if we decide to retreat they'll pursue/harry as necessary. If they retreated out of that with barely their hides, then the current AI will make them run.