AIAgentLLMContextAPI
Properties
Provides access to the configuration settings for an AI agent within the LLM context.
Represents the execution environment associated with an AI agent within the context of the LLM (Large Language Model) framework.
LLM currently associated with this context.
The PromptExecutor responsible for performing operations on the current prompt.
Response processor currently associated with this context.
A ToolRegistry that contains metadata about available tools.
List of current tools associated with this agent context.
Functions
Returns the current prompt used in the LLM context.
Creates a deep copy of this LLM context.
Executes a read session within the AIAgentLLMContext, ensuring concurrent safety with active write session and other read sessions.
Updates the current AIAgentLLMContext with a new prompt and ensures thread-safe access using a read lock.
Executes a write session on the AIAgentLLMContext, ensuring that all active write and read sessions are completed before initiating the write session.