Skip to content

Commit e96f339

Browse files
Merge pull request #102 from microsoft/psl-bugbash-feedback
fix: fixes for the Bug Bash feedback
2 parents ba0d243 + b3b172d commit e96f339

4 files changed

Lines changed: 25 additions & 12 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@
33
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
44
"forwardPorts": [50505],
55
"features": {
6-
"ghcr.io/azure/azure-dev/azd:latest": {}
6+
"ghcr.io/azure/azure-dev/azd:latest": {},
7+
"ghcr.io/devcontainers/features/azure-cli:1": {
8+
"installBicep": true,
9+
"version": "latest",
10+
"bicepVersion": "latest"
11+
}
712
},
813
"customizations": {
914
"vscode": {
1015
"extensions": [
1116
"ms-azuretools.azure-dev",
17+
"ms-azuretools.vscode-azcli",
1218
"ms-azuretools.vscode-bicep",
1319
"ms-python.python",
1420
"ms-toolsai.jupyter",
1521
"GitHub.vscode-github-actions"
1622
]
1723
}
1824
},
25+
"postCreateCommand": "sudo chmod +x ./scripts/quota_check_params.sh",
1926
"postStartCommand": "git pull origin main && python3 -m pip install -r ./src/frontend/requirements.txt && python3 -m pip install -r ./src/backend/requirements.txt",
2027
"remoteUser": "vscode",
2128
"hostRequirements": {

azure.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ name: modernize-your-code-solution-accelerator
55
metadata:
66
template: modernize-your-code-solution-accelerator@1.0
77
parameters:
8-
AiLocation:
8+
AzureAiServiceLocation:
99
type: string
1010
default: japaneast
11-
ResourcePrefix:
11+
Prefix:
1212
type: string
13-
default: bs-azdtest
13+
default: azdtemp
1414
baseUrl:
1515
type: string
1616
default: 'https://raw.githubusercontent.com/microsoft/Modernize-your-code-solution-accelerator'
1717
deployment:
1818
mode: Incremental
1919
template: ./infra/main.bicep # Path to the main.bicep file inside the 'deployment' folder
20-
prameters:
21-
AiLocation: ${{ parameters.AiLocation }}
22-
ResourcePrefix: ${{ parameters.ResourcePrefix }}
20+
parameters:
21+
AzureAiServiceLocation: ${{ parameters.AzureAiServiceLocation }}
22+
Prefix: ${{ parameters.Prefix }}
2323
baseUrl: ${{ parameters.baseUrl }}

docs/CustomizingAzdParameters.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,22 @@ By default this template will use the environment name as the prefix to prevent
55

66
> To override any of the parameters, run `azd env set <key> <value>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 characters alphanumeric unique name.
77
8+
Change the Content Understanding Location (allowed values: Sweden Central, Australia East)
9+
10+
```shell
11+
azd env set AZURE_ENV_CU_LOCATION 'swedencentral'
12+
```
13+
814
Change the Model Deployment Type (allowed values: Standard, GlobalStandard)
915

1016
```shell
1117
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE Standard
1218
```
1319

14-
Set the Model Name (allowed values: gpt-4)
20+
Set the Model Name (allowed values: gpt-4o)
1521

1622
```shell
17-
azd env set AZURE_ENV_MODEL_NAME gpt-4
23+
azd env set AZURE_ENV_MODEL_NAME gpt-4o
1824
```
1925

2026
Change the Model Capacity (choose a number based on available GPT model capacity in your subscription)

docs/EXAMPLE-CustomizingAzdParameters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
By default this template will use the environment name as the prefix to prevent naming collisions within Azure. The parameters below show the default values. You only need to run the statements below if you need to change the values.
44

55

6-
> To override any of the parameters, run `azd env set <key> <value>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 charaters alphanumeric unique name.
6+
> To override any of the parameters, run `azd env set <key> <value>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 characters alphanumeric unique name.
77
88
Change the Content Understanding Location (allowed values: Sweden Central, Australia East)
99

@@ -17,10 +17,10 @@ Change the Model Deployment Type (allowed values: Standard, GlobalStandard)
1717
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE GlobalStandard
1818
```
1919

20-
Set the Model Name (allowed values: gpt-4o-mini, gpt-4o, gpt-4)
20+
Set the Model Name (allowed values: gpt-4o)
2121

2222
```shell
23-
azd env set AZURE_ENV_MODEL_NAME gpt-4o-mini
23+
azd env set AZURE_ENV_MODEL_NAME gpt-4o
2424
```
2525

2626
Change the Model Capacity (choose a number based on available GPT model capacity in your subscription)

0 commit comments

Comments
 (0)