Files
spring-ai/advisors/output/15-tool-loop-order.txt
Claude 527f4ba7ff Add advisors module: custom logging, PII redaction and token-budget advisors
Tests pin down chain ordering (including ties), BaseAdvisor stream behaviour, redaction order versus memory and logging, the tool loop, and how a refusal surfaces on calls, streams and over HTTP.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ja4jkzrbQ4LQZBNrb5mkZE
2026-09-24 16:21:19 +00:00

14 lines
523 B
Plaintext

# Where an advisor sits relative to the tool loop
one question, one tool call, so the model is called twice (ToolCallingAdvisor is at +300)
logging advisor at +250 (outside the tool loop):
[LoggingAdvisor] request messages=1 roles=U
[LoggingAdvisor] response chars=20 took 5 ms
logging advisor at +400 (inside the tool loop):
[LoggingAdvisor] request messages=1 roles=U
[LoggingAdvisor] response chars=0 took 5 ms
[LoggingAdvisor] request messages=3 roles=UAT
[LoggingAdvisor] response chars=20 took 5 ms