An agent keeps choosing a slower tool even though a cheaper deterministic path exists. How would you debug it?

Instruction: Walk through how you would investigate a cost and routing regression in an agent.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Walk through how you would investigate a cost and routing regression in an agent.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would first inspect the decision context the model sees. Is the deterministic path described clearly enough? Is it positioned as the default? Is the tool schema or examples accidentally making the slower path look safer or more general?

Then I would check whether...

Related Questions