Spring AI advisors are AOP for your LLM calls. Do something before the request, something after. I built two custom advisors: one that logs which tools are visible to the model, and one that tracks token usage per call with a running total. Full walkthrough here: youtu.be/WNJFR-_N9bc
youtu.beSpring AI 2.0: Custom Advisors for Tool & Token LoggingYouTube video by Dan Vega
1 repost3 likes