Help required on gpt4 prompt processing issue while doing ai agent development

Hi,

We are developing ai agent by using function calling approch. So for complex task like after getting required data fo some series of steps to get a response.
LLM is not answering all steps after getting required data it is answering one or two steps only and saying I am doing next step but it is not doing anything.

Help required on this issr