AIAgentConfig
Configuration class for a AI agent that specifies the prompt, execution parameters, and behavior.
This class is responsible for defining the various settings and components required for an AI agent to operate. It includes the prompt configuration, iteration limits, and strategies for handling missing tools during execution.
Parameters
The initial prompt configuration for the agent, encapsulating messages, model, and parameters.
The model to use for the agent's prompt execution
The maximum number of iterations allowed for an agent during its execution to prevent infinite loops.
Strategy to handle missing tool definitions in the prompt. Defaults to applying formatting for missing tools. Ex.: if in the LLM history, there are some tools that are currently undefined in the agent (sub)graph.