Interface AgentInstance.Limits
- Enclosing interface:
AgentInstance
public static interface AgentInstance.Limits
Configured execution limits for this agent instance.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the maximum number of LLM calls allowed, or-1for no limit.longReturns the maximum total tokens allowed, or-1for no limit.intReturns the maximum number of tool calls allowed, or-1for no limit.
-
Method Details
-
getMaxModelCalls
int getMaxModelCalls()Returns the maximum number of LLM calls allowed, or-1for no limit. -
getMaxToolCalls
int getMaxToolCalls()Returns the maximum number of tool calls allowed, or-1for no limit. -
getMaxTokens
long getMaxTokens()Returns the maximum total tokens allowed, or-1for no limit.
-