Installation
Quick start
Configuration
QWEDCallbackHandler options
Example: blocking dangerous tools
Example: safety checks
QWEDCallbackHandler forwards verification_context only when a callback emitter explicitly supplies that keyword. The standard LangChain agent path does not supply it, so this handler cannot apply trusted total_cost or total_tokens across an agent run. Do not rely on this callback for run-wide max_cost or max_tokens enforcement. The LlamaIndex handler reads verification_context from the event keyword arguments or the event payload.