Skip to content

Commit b177bfb

Browse files
committed
Fix Azure ContainerApps deployment -a option
1 parent 285d185 commit b177bfb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/create-azure-openai-resources.sh

-8
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,6 @@ AZURE_OPENAI_KEY=$(
147147
| jq -r .key1
148148
)
149149

150-
AZURE_OPENAI_ENDPOINT=$(
151-
az cognitiveservices account show \
152-
--name "$COGNITIVE_SERVICE" \
153-
--resource-group "$RESOURCE_GROUP" \
154-
| jq -r .properties.endpoint
155-
)
156-
157150
echo
158151
echo "Deployment took $SECONDS seconds to complete."
159152
echo
@@ -162,7 +155,6 @@ echo "[$(date +"%m/%d/%Y %T")]: All services have been deployed"
162155
echo "-----------------------------------------"
163156
echo "Here are some key values you may need to use in your application's configuration:"
164157
echo
165-
echo "Endpoint: $AZURE_OPENAI_ENDPOINT"
166158
echo "API key (quarkus.langchain4j.azure-openai.api-key): $AZURE_OPENAI_KEY"
167159
echo "Resource Name (quarkus.langchain4j.azure-openai.resource-name): $COGNITIVE_SERVICE"
168160
echo "Deployment Name/Id (quarkus.langchain4j.azure-openai.deployment-id): $COGNITIVE_DEPLOYMENT"

0 commit comments

Comments
 (0)