Skip to content

Commit b790dc5

Browse files
Merge pull request #336 from microsoft/fix/corrected-the-table
fix: update table column percentage
2 parents 63997b2 + 90a16df commit b790dc5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
]
1717
}
1818
},
19-
"postStartCommand": "git pull origin main && python3 -m pip install -r infra/scripts/index_scripts/requirements.txt",
19+
"postStartCommand": "git pull origin main && python3 -m pip install -r infra/scripts/index_scripts/requirements.txt && curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash",
2020
"remoteUser": "vscode",
2121
"hostRequirements": {
2222
"memory": "4gb"

scripts/quota_check_params.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ for REGION in "${REGIONS[@]}"; do
153153
TEXT_EMBEDDING_AVAILABLE=true
154154
fi
155155
AT_LEAST_ONE_MODEL_AVAILABLE=true
156-
TEMP_TABLE_ROWS+=("$(printf "| %-4s | %-20s | %-60s | %-10s | %-10s | %-10s |" "$INDEX" "$REGION" "$MODEL_TYPE" "$LIMIT" "$CURRENT_VALUE" "$AVAILABLE")")
156+
TEMP_TABLE_ROWS+=("$(printf "| %-4s | %-20s | %-45s | %-10s | %-10s | %-10s |" "$INDEX" "$REGION" "$MODEL_TYPE" "$LIMIT" "$CURRENT_VALUE" "$AVAILABLE")")
157157
else
158158
INSUFFICIENT_QUOTA=true
159159
fi
@@ -178,17 +178,17 @@ if { [ "$IS_USER_PROVIDED_PAIRS" = true ] && [ "$INSUFFICIENT_QUOTA" = false ] &
178178
done
179179

180180
if [ ${#TABLE_ROWS[@]} -eq 0 ]; then
181-
echo "----------------------------------------------------------------------------------------------------------"
181+
echo "------------------------------------------------------------------------------------------------------------------"
182182

183183
echo "❌ No regions have sufficient quota for all required models. Please request a quota increase: https://aka.ms/oai/stuquotarequest"
184184
else
185-
echo "----------------------------------------------------------------------------------------------------------"
186-
printf "| %-4s | %-20s | %-60s | %-10s | %-10s | %-10s |\n" "No." "Region" "Model Name" "Limit" "Used" "Available"
187-
echo "----------------------------------------------------------------------------------------------------------"
185+
echo "----------------------------------------------------------------------------------------------------------------------"
186+
printf "| %-4s | %-20s | %-45s | %-10s | %-10s | %-10s |\n" "No." "Region" "Model Name" "Limit" "Used" "Available"
187+
echo "----------------------------------------------------------------------------------------------------------------------"
188188
for ROW in "${TABLE_ROWS[@]}"; do
189189
echo "$ROW"
190190
done
191-
echo "----------------------------------------------------------------------------------------------------------"
191+
echo "----------------------------------------------------------------------------------------------------------------------"
192192
echo "➡️ To request a quota increase, visit: https://aka.ms/oai/stuquotarequest"
193193
fi
194194

0 commit comments

Comments
 (0)