Files
spring-ai/advisors/output/09-pii-stream-boundary.txt
T
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

12 lines
427 B
Plaintext

# Restoring placeholders in a stream
the model streams 5-character chunks: Sure,| I wi|ll wr|ite t|o <EM|AIL_1|> now|.
restore each chunk on its own:
chunks: Sure,| I wi|ll wr|ite t|o <EM|AIL_1|> now|.
joined: Sure, I will write to <EMAIL_1> now.
PiiRedactionAdvisor (holds back from an unfinished "<"):
chunks: Sure,| I wi|ll wr|ite t|o |[email protected] now|.
joined: Sure, I will write to [email protected] now.