Agent always ends prematurely, even if it only says one sentence and does nothing before ending

Agent only said one sentence, “Alright, continue with the plan, read the remaining memory library files.” and then ended. This situation has happened many times.

like this a31668e0-fb9e-47e8-9123-34e694493270

often stopping after saying “Okay, I will modify ■■ document.”
It’s just a waste of points