Skip to content

Commit 7bc1fff

Browse files
Merge pull request #220 from microsoft/psl-fixcopilotcomments-cmv2
fix: fixed all copilot comments
2 parents e3b6d65 + 1976a0d commit 7bc1fff

7 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/workflows/deploy-orchestrator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ on:
3838
default: false
3939
type: boolean
4040
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
41-
description: 'Log Analytics Workspace ID (Optional)'
41+
description: 'Log Analytics Workspace Resource ID (Optional)'
4242
required: false
4343
default: ''
4444
type: string
4545
AZURE_EXISTING_AIPROJECT_RESOURCE_ID:
46-
description: 'AI Project Resource ID (Optional)'
46+
description: 'Existing AI Project full Azure Resource ID (Optional; must be a full Azure Resource ID, not just the project name or a GUID)'
4747
required: false
4848
default: ''
4949
type: string

.github/workflows/deploy-v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ on:
8585
type: boolean
8686

8787
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
88-
description: 'Log Analytics Workspace ID (Optional)'
88+
description: 'Log Analytics Workspace Resource ID (Optional)'
8989
required: false
9090
default: ''
9191
type: string
9292
AZURE_EXISTING_AIPROJECT_RESOURCE_ID:
93-
description: 'AI Project Resource ID (Optional)'
93+
description: 'Full Azure AI Project Resource ID (Optional, format: /subscriptions/.../resourceGroups/.../providers/...)'
9494
required: false
9595
default: ''
9696
type: string

.github/workflows/job-cleanup-deployment.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ jobs:
218218
azd env set AZURE_RESOURCE_GROUP "${RESOURCE_GROUP_NAME}"
219219
azd env set AZURE_SUBSCRIPTION_ID "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
220220
azd env set AZURE_LOCATION="${AZURE_LOCATION}"
221-
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE="${AZURE_ENV_OPENAI_LOCATION}"
222221
fi
223222
224223
- name: Delete deployment using azd

.github/workflows/job-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ on:
4747
default: ''
4848
type: string
4949
AZURE_ENV_EXISTING_LOG_ANALYTICS_WORKSPACE_RID:
50-
description: 'Log Analytics Workspace ID (Optional)'
50+
description: 'Log Analytics Workspace Resource ID (Optional)'
5151
required: false
5252
default: ''
5353
type: string
5454
AZURE_EXISTING_AIPROJECT_RESOURCE_ID:
55-
description: 'AI Project Resource ID (Optional)'
55+
description: 'Existing AI Project Resource ID in full Azure Resource ID format (Optional, for example: /subscriptions/...)'
5656
required: false
5757
default: ''
5858
type: string

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ param gptModelName string = 'gpt-5.1'
6060
@description('Optional. Version of AI model. Review available version numbers per model before setting. Defaults to 2025-11-13.')
6161
param gptModelVersion string = '2025-11-13'
6262

63-
@description('Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 50K tokens per minute to improve regional success rate.')
63+
@description('Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 500K tokens per minute to improve regional success rate.')
6464
param gptDeploymentCapacity int = 500
6565

6666
@minLength(1)

infra/main.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"metadata": {
66
"_generator": {
77
"name": "bicep",
8-
"version": "0.42.1.51946",
9-
"templateHash": "18053986120321996236"
8+
"version": "0.43.1.21952",
9+
"templateHash": "1278209883407272359"
1010
}
1111
},
1212
"parameters": {
@@ -107,7 +107,7 @@
107107
"type": "int",
108108
"defaultValue": 500,
109109
"metadata": {
110-
"description": "Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 50K tokens per minute to improve regional success rate."
110+
"description": "Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 500K tokens per minute to improve regional success rate."
111111
}
112112
},
113113
"aiEmbeddingModelName": {
@@ -4715,8 +4715,8 @@
47154715
"metadata": {
47164716
"_generator": {
47174717
"name": "bicep",
4718-
"version": "0.42.1.51946",
4719-
"templateHash": "2245351167779444314"
4718+
"version": "0.43.1.21952",
4719+
"templateHash": "4488065934246762087"
47204720
}
47214721
},
47224722
"definitions": {
@@ -26135,8 +26135,8 @@
2613526135
},
2613626136
"dependsOn": [
2613726137
"appIdentity",
26138-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
2613926138
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
26139+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
2614026140
"virtualNetwork"
2614126141
]
2614226142
},
@@ -30103,8 +30103,8 @@
3010330103
"metadata": {
3010430104
"_generator": {
3010530105
"name": "bicep",
30106-
"version": "0.42.1.51946",
30107-
"templateHash": "16866311185741009453"
30106+
"version": "0.43.1.21952",
30107+
"templateHash": "17526785557845507677"
3010830108
}
3010930109
},
3011030110
"definitions": {
@@ -33854,8 +33854,8 @@
3385433854
"dependsOn": [
3385533855
"aiFoundryAiServices",
3385633856
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
33857-
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
3385833857
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
33858+
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
3385933859
"virtualNetwork"
3386033860
]
3386133861
},
@@ -33892,8 +33892,8 @@
3389233892
"metadata": {
3389333893
"_generator": {
3389433894
"name": "bicep",
33895-
"version": "0.42.1.51946",
33896-
"templateHash": "16351752584270870112"
33895+
"version": "0.43.1.21952",
33896+
"templateHash": "8251376928798842081"
3389733897
}
3389833898
},
3389933899
"parameters": {

infra/main_custom.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ param gptModelName string = 'gpt-5.1'
6868
@description('Optional. Version of AI model. Review available version numbers per model before setting. Defaults to 2025-11-13.')
6969
param gptModelVersion string = '2025-11-13'
7070

71-
@description('Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 50K tokens per minute to improve regional success rate.')
72-
param gptDeploymentCapacity int = 1
71+
@description('Optional. GPT model deployment token capacity. Lower this if initial provisioning fails due to capacity. Defaults to 500K tokens per minute to improve regional success rate.')
72+
param gptDeploymentCapacity int = 500
7373

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

0 commit comments

Comments
 (0)