WithLLMSelector and the per-run LLMClient option. Three stub clients, no provider key.
Source: examples/agent_with_model_selection/
Set AGENT_RUNTIME=temporal or restate in examples/.env to exercise those runtimes. On Temporal, register the same named clients and the same selector mode on the worker.
What you will see
Run
Fromexamples/:
Expected output
primary in the counts is the empty name: the client from WithLLMClient.
Related
Model Selection
Modes, precedence, and limits
Error Control
Fallback after a model failure still wins for the rest of the run