Files
spring-ai/advisors/output/14-token-budget-stream-refusal.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

6 lines
165 B
Plaintext

# A refusal on the stream path
subscriber got: TokenBudgetExceededException
message: prompt is about 13 tokens, the limit per request is 5
model calls: 0