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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# What pattern-based redaction misses
|
||||
|
||||
in: My name is Priya Sharma and I live at 14 Hill Road, Bandra, Mumbai 400050.
|
||||
out: My name is Priya Sharma and I live at 14 Hill Road, Bandra, Mumbai 400050.
|
||||
|
||||
in: Passport N1234567, PAN ABCDE1234F.
|
||||
out: Passport N1234567, PAN ABCDE1234F.
|
||||
|
||||
in: Write to priya (at) example (dot) com
|
||||
out: Write to priya (at) example (dot) com
|
||||
|
||||
in: Card 4111-1111-1111-1112 and order 1234 5678 9012 3456
|
||||
out: Card 4111-1111-1111-1112 and order 1234 5678 9012 3456
|
||||
|
||||
Reference in New Issue
Block a user