Ensure all requests to a model provider fallback to different models in case of errors or provider limits.
Model
condition and pick GPT-4o
. This will apply the retry mechanism to and request made with 4o.Change retry config
and select Claude 3.7
as the fallback model. You can set a number of retries for each model - sometimes requests will randomly fail the first time even if the model provider is still available.Is Group
type. This applies to any request where a “group” is defined in the metadata. N.b. Waystone currently doesn’t have an “always” ruleset condition, but will soon.metadata
field to identify users and apply the arbitrary metadata you define to them.
To assign user metadata, simply add the user’s unique ID in your application to the Waystone request and the “group” (e.g. a team or organisation. If you application does not have these entities, you can reuse the user ID). This metadata is sent as a JSON string in the metadata
field of the request.