Skip to content

support inline routing_policy in request body#815

Merged
salmanap merged 1 commit intomainfrom
adil/routing_inline_policy
Mar 10, 2026
Merged

support inline routing_policy in request body#815
salmanap merged 1 commit intomainfrom
adil/routing_inline_policy

Conversation

@adilhafeez
Copy link
Copy Markdown
Contributor

@adilhafeez adilhafeez commented Mar 10, 2026

Summary

  • Add routing_policy field support in request body for both /routing/v1/* and /v1/* endpoints
  • Extract routing_policy from JSON before parsing into ProviderRequestType, pass directly to router
  • Refactor duplicated extraction logic into shared extract_routing_policy() helper
  • Add inline routing_policy examples to demo script

Fixes #811

@salmanap salmanap merged commit 97b7a39 into main Mar 10, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support inline routing policy in request payload

2 participants