Repository navigation
v0.16.0
Add synchronous and asynchronous agent and tenant model spending-limit settings and status methods. Pass spending_limit=None to disable a limit.
Export SpendingLimitStopEvent and SpendingLimitStopData for explicit event decoding. The event requires type="data-model-spending-limit", transient=True, and the typed spending details with code="model_spending_limit_exceeded". The raw chat stream continues to return the server's original bytes.