What Is Changing
We are retiring support for thex-tfy-routing-config request header in AI Gateway. This header is not supported on and after v0.133.
Why This Change
Routing logic should be configured declaratively via Virtual Models rather than passed as request headers.What You Need to Do
- Move routing logic (targets, weights/priorities, retries, fallbacks) into a Virtual Model.
- Update clients to call the Virtual Model name/path instead of sending
x-tfy-routing-config. - Validate behavior in staging before upgrading to
v0.133.
Migration Guidance
Refer to the Virtual Models documentation for detailed setup instructions.If you need help migrating, reach out and we’ll be happy to assist.