Say it clearly. Keep it simple.
The main predicate determines who is understood as the subject of an infinitive clause. With versprechen the promiser acts; with bitten the addressee is asked to act.
Spot the clue
Versprechen controls the infinitive through its subject Lea.
Lea verspricht Tom, zu kommen.
Aha! See the common trap
Try thisLea verspricht Tom, zu kommen.
Do not automatically identify the nearest noun as the infinitive’s understood subject.
More examples, less guessing
Lea verspricht Tom, zu kommen.Lea promises Tom that she will come.