Skip to content

Add absolute ModelGateway discovery endpoint sample - #970

Open
Yongjia Li (yongjiaaaa) wants to merge 1 commit into
mainfrom
add-absolute-modelgateway-discovery-sample
Open

Yongjia Li (yongjiaaaa) wants to merge 1 commit into
mainfrom
add-absolute-modelgateway-discovery-sample

Conversation

@yongjiaaaa

Copy link
Copy Markdown
  • Add support and documentation for same-origin absolute HTTPS ModelGateway discovery endpoints.
  • Add parameters-dynamic-absolute.json for connecting to models whose inference and discovery APIs use sibling paths.
  • Update the validation utility to: Enforce same-origin HTTPS endpoints. Reject unsafe paths, fragments, user information, and duplicate api-version parameters. Preserve endpoint query parameters and API-version precedence URL-encode deployment names. Require exactly one {deploymentName} placeholder in the path.
  • Preserve support for existing relative discovery endpoints.

Document same-origin absolute discovery endpoints and add a deployment parameter sample. Update the local validator to exercise URL composition, origin checks, query precedence, and safe deployment-name substitution.
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.

1 participant