Smith::Events::ContextExhausted
Inherits Smith::Events::Event < Reference < Object
The request cannot be brought under the budget and nothing more can be reclaimed. Kept apart from TurnError for the same reason BudgetExceeded is: a script driving smith has to tell "start a fresh session" apart from "the provider is broken", and matching on an error string is not an interface.
Constructors
new(estimated_tokens : Int32, budget_tokens : Int32, reclaimed_tokens : Int32)
SourceInstance methods
budget_tokens
Sourceestimated_tokens
Sourcereclaimed_tokens
Source