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,11 @@
|
||||
# BaseAdvisor on a call and on a stream
|
||||
|
||||
call: before x1, after x1
|
||||
before ran on thread: the caller's thread
|
||||
|
||||
stream: the model streamed 5 chunks: one |two |thre|e fo|ur
|
||||
before x1, after x1
|
||||
after saw only: "ur"
|
||||
before ran on thread: a boundedElastic worker, not the caller's thread
|
||||
|
||||
stream whose last chunk has no finish reason: before x1, after x0
|
||||
Reference in New Issue
Block a user