Gets the prompt request function from the provider.
A function that validates and queues prompts; throws outside the provider.
Gets the prompt request function from the provider.