diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml deleted file mode 100644 index 5eeaf90..0000000 --- a/.github/workflows/create-release.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Create-Release - -on: - push: - branches: - - main - -permissions: - contents: write - pull-requests: write - -jobs: - create-release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.event.workflow_run.head_sha }} - - - uses: codfish/semantic-release-action@v3 - id: semantic - with: - tag-format: "v${version}" - additional-packages: | - ['conventional-changelog-conventionalcommits@7'] - plugins: | - [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits" - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { type: 'feat', section: 'Features', hidden: false }, - { type: 'fix', section: 'Bug Fixes', hidden: false }, - { type: 'perf', section: 'Performance Improvements', hidden: false }, - { type: 'revert', section: 'Reverts', hidden: false }, - { type: 'docs', section: 'Other Updates', hidden: false }, - { type: 'style', section: 'Other Updates', hidden: false }, - { type: 'chore', section: 'Other Updates', hidden: false }, - { type: 'refactor', section: 'Other Updates', hidden: false }, - { type: 'test', section: 'Other Updates', hidden: false }, - { type: 'build', section: 'Other Updates', hidden: false }, - { type: 'ci', section: 'Other Updates', hidden: false } - ] - } - } - ], - '@semantic-release/github' - ] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: echo ${{ steps.semantic.outputs.release-version }} - - - run: echo "$OUTPUTS" - env: - OUTPUTS: ${{ toJson(steps.semantic.outputs) }} diff --git a/docs/quota_check.md b/docs/quota_check.md index a505fb1..1c8c2a0 100644 --- a/docs/quota_check.md +++ b/docs/quota_check.md @@ -11,7 +11,7 @@ az login ## 📌 Default Models & Capacities: These match the `modelDeploymentList` in the Bicep parameters: ``` -gpt-4.1-mini:40:GlobalStandard, text-embedding-3-large:40:Standard +gpt-5-mini:40:GlobalStandard, text-embedding-3-large:40:Standard ``` ## 📌 Default Regions: @@ -43,7 +43,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ Check specific model(s) in default regions: ```sh - ./quota_check.sh --models gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard + ./quota_check.sh --models gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard ``` ✔️ Check default models in specific region(s): ```sh @@ -51,7 +51,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ All parameters combined: ```sh - ./quota_check.sh --models gpt-4.1-mini:40 --regions eastus,westus --verbose + ./quota_check.sh --models gpt-5-mini:40 --regions eastus,westus --verbose ``` ✔️ Also check Fabric capacity availability: ```sh @@ -67,7 +67,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ Check specific model(s): ```powershell - .\quota_check.ps1 -Models "gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" + .\quota_check.ps1 -Models "gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" ``` ✔️ Check specific region(s): ```powershell @@ -75,7 +75,7 @@ The accelerator also deploys a **Microsoft Fabric F8** capacity. Pass `--check-f ``` ✔️ All parameters combined: ```powershell - .\quota_check.ps1 -Models "gpt-4.1-mini:40" -Regions "eastus,westus" -CheckFabric -Verbose + .\quota_check.ps1 -Models "gpt-5-mini:40" -Regions "eastus,westus" -CheckFabric -Verbose ``` ## **Sample Output** @@ -86,7 +86,7 @@ The final table lists regions with available quota. You can select any of these ║ QUOTA CHECK SUMMARY ║ ╚══════════════════════════════════════════════════════════════╝ -Region gpt-4.1-mini text-embedding-3-large Status +Region gpt-5-mini text-embedding-3-large Status ────────────────────────────────────────────────────────────────────────────────────────── eastus ✅ 200/240 (need 40) ✅ 120/200 (need 40) ✅ PASS eastus2 ❌ 10/240 (need 40) ✅ 50/200 (need 40) ❌ FAIL diff --git a/infra/main.bicepparam b/infra/main.bicepparam index 2b66a8b..a8e12b8 100644 --- a/infra/main.bicepparam +++ b/infra/main.bicepparam @@ -141,8 +141,8 @@ param modelDeploymentList = [ name: 'chat' model: { format: 'OpenAI' - name: 'gpt-4.1-mini' - version: '2025-04-14' + name: 'gpt-5-mini' + version: '2025-08-07' } sku: { name: 'GlobalStandard' diff --git a/scripts/quota_check.ps1 b/scripts/quota_check.ps1 index 209f1bf..563850a 100644 --- a/scripts/quota_check.ps1 +++ b/scripts/quota_check.ps1 @@ -7,13 +7,13 @@ candidate region for the models required by this accelerator. Default models (from infra/main.bicepparam): - gpt-4.1-mini GlobalStandard 40K TPM + gpt-5-mini GlobalStandard 40K TPM text-embedding-3-large Standard 40K TPM .PARAMETER Models Comma-separated model list. Format: name:capacity[:sku] When sku is omitted it defaults to GlobalStandard. - Example: "gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" + Example: "gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" .PARAMETER Regions Comma-separated Azure region list. @@ -28,7 +28,7 @@ .EXAMPLE .\quota_check.ps1 .EXAMPLE - .\quota_check.ps1 -Models "gpt-4.1-mini:40" -Regions "eastus,westus" + .\quota_check.ps1 -Models "gpt-5-mini:40" -Regions "eastus,westus" .EXAMPLE .\quota_check.ps1 -CheckFabric -Verbose #> @@ -43,7 +43,7 @@ param( $ErrorActionPreference = 'Stop' # ---- Defaults ---- -$DefaultModels = 'gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard' +$DefaultModels = 'gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard' $DefaultRegions = 'eastus,eastus2,swedencentral,uksouth,westus,westus2,southcentralus,canadacentral,australiaeast,japaneast,norwayeast' # ---- Resolve inputs ---- @@ -141,7 +141,7 @@ foreach ($region in $regionList) { $usage = $quotaInfo | Where-Object { $_.name.value -eq $quotaKey } - # Azure quota keys for gpt-4.1 family omit the first hyphen (gpt4.1-mini not gpt-4.1-mini) + # Azure quota keys for gpt-5 family omit the first hyphen (gpt5-mini not gpt-5-mini) if (-not $usage -and $m.Name -match '^gpt-') { $altName = $m.Name -replace '^gpt-', 'gpt' $altKey = "OpenAI.$($m.Sku).$altName" diff --git a/scripts/quota_check.sh b/scripts/quota_check.sh index 53b6885..54d1a6b 100644 --- a/scripts/quota_check.sh +++ b/scripts/quota_check.sh @@ -10,7 +10,7 @@ # for JSON parsing instead of python3 or jq. # # Default models (from infra/main.bicepparam): -# gpt-4.1-mini:40 (GlobalStandard), text-embedding-3-large:40 (Standard) +# gpt-5-mini:40 (GlobalStandard), text-embedding-3-large:40 (Standard) # # Default regions: # eastus, eastus2, swedencentral, uksouth, westus, westus2, @@ -19,16 +19,16 @@ # Usage: # ./quota_check.sh # ./quota_check.sh --verbose -# ./quota_check.sh --models gpt-4.1-mini:40,text-embedding-3-large:40 +# ./quota_check.sh --models gpt-5-mini:40,text-embedding-3-large:40 # ./quota_check.sh --regions eastus,westus2 -# ./quota_check.sh --models gpt-4.1-mini:40 --regions eastus,westus --verbose +# ./quota_check.sh --models gpt-5-mini:40 --regions eastus,westus --verbose # ./quota_check.sh --check-fabric # ============================================================================= set -euo pipefail # ---- Defaults ---- -DEFAULT_MODELS="gpt-4.1-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" +DEFAULT_MODELS="gpt-5-mini:40:GlobalStandard,text-embedding-3-large:40:Standard" DEFAULT_REGIONS="eastus,eastus2,swedencentral,uksouth,westus,westus2,southcentralus,canadacentral,australiaeast,japaneast,norwayeast" VERBOSE=false CHECK_FABRIC=false @@ -69,7 +69,7 @@ while [[ $# -gt 0 ]]; do echo "" echo "Examples:" echo " $0" - echo " $0 --models gpt-4.1-mini:40,text-embedding-3-large:40 --regions eastus,westus" + echo " $0 --models gpt-5-mini:40,text-embedding-3-large:40 --regions eastus,westus" echo " $0 --check-fabric --verbose" exit 0 ;; @@ -167,7 +167,7 @@ for m in "${MODELS[@]}"; do MODEL_CAPS+=("$mcap") MODEL_SKUS+=("$msku") MODEL_PRIMARY_KEYS+=("OpenAI.${msku}.${mname}") - # Azure quota keys for gpt-4.1 family omit the first hyphen (gpt4.1-mini not gpt-4.1-mini) + # Azure quota keys for gpt-5 family omit the first hyphen (gpt5-mini not gpt-5-mini) if [[ "$mname" == gpt-* ]]; then alt_mname="${mname/gpt-/gpt}" MODEL_ALT_KEYS+=("OpenAI.${msku}.${alt_mname}")