Skip to content

AI Gateway CLI 1.0.0b15

Pre-release
Pre-release

Choose a tag to compare

@paulyuk paulyuk released this 28 Oct 18:22
c299347

Highlights

  • Gateway SKU selection (--sku): az aigateway create and az aigateway update now accept --sku Consumption|Premium (defaults to Consumption on create), and az aigateway list/show -o table includes the Sku column.
  • Partial provider configuration updates (model-provider update): az aigateway model-provider update --foundry ... and --custom ... deep-merge partial JSON updates with the existing provider configuration on Microsoft.ApiManagement/aigateways without requiring unchanged fields or existing API keys.
  • Multi-provider Foundry bulk import: az aigateway model-provider create --foundry-resource-id <id> scopes duplicate-deployment checks per provider so multiple Foundry providers can register models with the same deployment name, and automatically cleans up an empty provider if onboarding fails before any model is created.
  • Idempotent model alias creation (model-alias create --overwrite): Added --overwrite to az aigateway model-alias create for idempotent script re-runs, and suppressed the non-atomic alias creation warning unless --verbose is passed.
  • API key & model ergonomics:
    • az aigateway api-key create makes --display-name optional (defaults to --name).
    • az aigateway model create defaults --backend-model to --name and infers --api-format from the provider kind (AzureOpenAI for foundry, OpenAI for openai).
    • az aigateway model policy set allows updating --token-period or --token-counter-key on an existing token-limit policy without repeating --token-limit.
  • New-RP-first resolution & redacted --debug logging:
    • Commands now probe Microsoft.ApiManagement/aigateways first before falling back to legacy Microsoft.ApiManagement/service, eliminating unnecessary 404 probes in --debug.
    • --debug now logs the HTTP method, URL, and secret-redacted request body for all child write operations (PUT/PATCH/POST/DELETE).

Install or Upgrade

Bash (macOS / Linux)

curl -fsSL https://aka.ms/aigateway-cli-install | bash
az aigateway version

PowerShell (Windows / macOS / Linux)

irm https://aka.ms/aigateway-cli-install-ps | iex
az aigateway version

Documentation

Release Asset & Checksum

  • Wheel: aigateway-1.0.0b15-py3-none-any.whl
  • SHA-256: 8d059b7c5e006631ba843f3c4f6e41840d89c71312b13217796da16125a04a6d