Mocking Spring AI @Tool calls via record/replay
The first question about testing a Spring AI agent is "how do I avoid calling the model." The second one, the moment tools enter the picture, is scarier:
When my test makes the agent call refundCusto
rifatcakir.hashnode.dev6 min read