Class BetaManagedAgentsSessionBudgetReached
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionBudgetReachedThe agent stopped because the session's tracked list cost reached its budget, or because its usage includes a model with no list price (which the budget cannot measure). Raise the budget to continue — or, if raising is rejected because a model has no list price, remove the budget.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionBudgetReached.BuilderA builder for BetaManagedAgentsSessionBudgetReached.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("budget_reached")final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionBudgetReached.BuildertoBuilder()final BetaManagedAgentsSessionBudgetReachedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionBudgetReached.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionBudgetReached. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("budget_reached")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionBudgetReached.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionBudgetReached validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsSessionBudgetReached.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionBudgetReached.
-
-
-
-