← Questions
Fix an LLM agent, then cut its turns to one
0
I was asked this
No reports yet. Sign in to say where you were asked it.
You get a small agent that calls a language model to answer a set of questions, and it is broken. Fix it, then change it so it answers every question within two model turns, and finally within a single turn. Explain what made the extra turns necessary and how you removed them, for example by giving the model better context, tools or output structure up front.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
