AIAgentContextMockBuilder
AIAgentContextMockBuilder is a builder class for constructing a mock implementation of an AI agent context. It provides mechanisms to configure various components of the AI agent context before constructing it. This class is intended for use in testing scenarios and extends AIAgentContextMockBuilderBase
.
Types
Properties
Represents the agent's input data used in constructing or testing the agent's context.
Represents the KType of the agentInput.
Represents the AI agent configuration used in the mock builder.
Represents the AI agent's environment in which the context is being executed.
Represents the context for accessing and managing an AI agent's LLM (Large Language Model) configuration and behavior. The llm
property allows you to define or override the LLM context for the agent, including tools, prompt handling, and interaction with external dependencies.
An overrideable property for managing the agent's state using an instance of AIAgentStateManager.
Represents a concurrent-safe key-value storage instance for an AI agent.
Represents the identifier for the strategy to be used in the agent context.
Functions
Builds and returns an instance of DummyAgentContext
.
Creates and returns a new copy of the current AIAgentContextMockBuilder
instance. The copied instance contains the same state and configuration as the original.