Skip to content

Commit 762baf2

Browse files
modify code
1 parent 51e9ed4 commit 762baf2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

infra/main.bicep

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ var aiFoundryName = '${abbrs.ai.aiFoundry}${ResourcePrefix}'
6262
var aiProjectDescription = 'AI foundary project for CPS template'
6363
var aiProjectName = '${abbrs.ai.aiFoundryProject}${ResourcePrefix}'
6464
var aiProjectFriendlyName = aiProjectName
65-
var projectEndpointString =''
66-
6765

6866
var aiModelDeployments = [
6967
{
@@ -400,7 +398,7 @@ resource containerAppBackend 'Microsoft.App/containerApps@2023-05-01' = {
400398
}
401399
{
402400
name: 'AI_PROJECT_ENDPOINT'
403-
value: projectEndpointString
401+
value: aiFoundryProject.properties.endpoints['AI Foundry API']
404402
}
405403
]
406404
resources: {

0 commit comments

Comments
 (0)