Earlier quoted context omitted.
What is it that you think is so complex about this?
Where is the project you built?
Stop diverting the question, tell me where my assumption is wrong of needing to make 2 API calls to an LLM provider to do this or prove me wrong. If you're going to be firmly on the AI fanboy bandwagon you will need to eventually face difficult questions like this.