Updates the current AIAgentLLMContext with a new prompt and ensures thread-safe access using a read lock.
AIAgentLLMContext
transformation to produce the next Prompt.