Skip to content

Commit 18c24d0

Browse files
fix: Update GPT_IMAGE_MIN_CAPACITY to 4 in deployment configurations and scripts
1 parent 0522fd0 commit 18c24d0

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
GPT_MIN_CAPACITY: 150
2121
O4_MINI_MIN_CAPACITY: 50
2222
GPT41_MINI_MIN_CAPACITY: 50
23-
GPT_IMAGE_MIN_CAPACITY: 1
23+
GPT_IMAGE_MIN_CAPACITY: 4
2424
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
2525

2626
jobs:

.github/workflows/job-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ env:
101101
GPT_MIN_CAPACITY: 150
102102
O4_MINI_MIN_CAPACITY: 50
103103
GPT41_MINI_MIN_CAPACITY: 50
104-
GPT_IMAGE_MIN_CAPACITY: 1
104+
GPT_IMAGE_MIN_CAPACITY: 4
105105
BRANCH_NAME: ${{ github.event.workflow_run.head_branch || github.head_ref || github.ref_name }}
106106
WAF_ENABLED: ${{ inputs.trigger_type == 'workflow_dispatch' && (inputs.waf_enabled || false) || false }}
107107
EXP: ${{ inputs.trigger_type == 'workflow_dispatch' && (inputs.EXP || false) || false }}

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ param gpt5MiniModelCapacity int = 50
138138
param gptImageModelDeploymentType string = 'GlobalStandard'
139139

140140
@description('Optional. gpt-image-1.5 deployment capacity (RPM). Defaults to 1 to support concurrent marketing-image generation across multiple sessions.')
141-
param gptImageModelCapacity int = 1
141+
param gptImageModelCapacity int = 4
142142

143143
@description('Optional. The tags to apply to all deployed Azure resources.')
144144
param tags resourceInput<'Microsoft.Resources/resourceGroups@2025-04-01'>.tags = {}

infra/main_custom.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ param gpt4_1ModelCapacity int = 150
124124
param gptReasoningModelCapacity int = 100
125125

126126
@description('Optional. gpt-image-1.5 deployment capacity (RPM). Defaults to 1 to support concurrent marketing-image generation across multiple sessions.')
127-
param gptImageModelCapacity int = 1
127+
param gptImageModelCapacity int = 4
128128

129129
@description('Optional. The tags to apply to all deployed Azure resources.')
130130
param tags resourceInput<'Microsoft.Resources/resourceGroups@2025-04-01'>.tags = {}

infra/scripts/checkquota.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SUBSCRIPTION_ID="${AZURE_SUBSCRIPTION_ID}"
77
GPT_MIN_CAPACITY="${GPT_MIN_CAPACITY}"
88
O4_MINI_MIN_CAPACITY="${O4_MINI_MIN_CAPACITY}"
99
GPT41_MINI_MIN_CAPACITY="${GPT41_MINI_MIN_CAPACITY}"
10-
GPT_IMAGE_MIN_CAPACITY="${GPT_IMAGE_MIN_CAPACITY:-1}"
10+
GPT_IMAGE_MIN_CAPACITY="${GPT_IMAGE_MIN_CAPACITY:-4}"
1111

1212
echo "🔄 Validating required environment variables..."
1313
if [[ -z "$SUBSCRIPTION_ID" || -z "$REGIONS" ]]; then

0 commit comments

Comments
 (0)