Package-level declarations
Types
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
.
A base interface for building mock implementations of the AIAgentContextBase interface.
Receiver class for configuring text responses from the LLM.
A mock implementation of the AIAgentContextBase interface, used for testing purposes.
Simple tool implementation for testing purposes. This tool accepts a placeholder parameter and returns a constant result.
A mock implementation of AIAgentEnvironment used for testing agent behavior.
Builder class for creating mock LLM executors for testing.
A class that facilitates mocking of callable tools by defining their behavior based on the received arguments.
Functions
Creates a mock LLM executor for testing.
Creates a mock LLM text response.
Mocks a tool call for the provided tool function and arguments.
Associates a tool function with the MockLLMBuilder to create a MockToolFromCallableReceiver instance.