readSession
Executes a read-only session within the context of AIAgentLLMReadSession and returns the result of the provided block.
This method is designed for Java interop and facilitates read operations on the AIAgentLLMReadSession, ensuring the provided block is executed within the specified context.
Return
The result of executing the provided block within the AIAgentLLMReadSession context.
Parameters
block
A function that performs actions within the AIAgentLLMReadSession and computes a result of type T.