Budget

constructor(cost: Double = DEFAULT_COST_LIMIT, actions: Int = DEFAULT_ACTION_LIMIT, tokens: Int = DEFAULT_TOKEN_LIMIT)

Parameters

cost

the cost of running the process, in USD.

actions

the maximum number of actions the agent can perform before termination.

tokens

the maximum number of tokens the agent can use before termination. This can be useful in the case of local models where the cost is not directly measurable, but we don't want excessive work.