build

Constructs a PromptExecutor from the registered clients.

The concrete implementation is chosen automatically:

Return

A configured PromptExecutor instance.

Throws

if a fallback model was configured but its provider has no registered client.