Interface AgentInstance.Limits

Enclosing interface:
AgentInstance

public static interface AgentInstance.Limits
Configured execution limits for this agent instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the maximum number of LLM calls allowed, or -1 for no limit.
    long
    Returns the maximum total tokens allowed, or -1 for no limit.
    int
    Returns the maximum number of tool calls allowed, or -1 for no limit.
  • Method Details

    • getMaxModelCalls

      int getMaxModelCalls()
      Returns the maximum number of LLM calls allowed, or -1 for no limit.
    • getMaxToolCalls

      int getMaxToolCalls()
      Returns the maximum number of tool calls allowed, or -1 for no limit.
    • getMaxTokens

      long getMaxTokens()
      Returns the maximum total tokens allowed, or -1 for no limit.