@@ -46,7 +46,7 @@ param location string = resourceGroup().location
4646param azureAiServiceLocation string = location
4747
4848@description ('Optional. AI model deployment token capacity. Defaults to 5K tokens per minute.' )
49- param capacity int = 5
49+ param capacity int = 100 // was 5 before = 5K
5050
5151@description ('Optional. Enable monitoring for the resources. This will enable Application Insights and Log Analytics. Defaults to false.' )
5252param enableMonitoring bool = false
@@ -348,7 +348,6 @@ module containerAppsEnvironment 'br/public:avm/res/app/managed-environment:0.11.
348348 }
349349}
350350
351-
352351module containerAppBackend 'br/public:avm/res/app/container-app:0.17.0' = {
353352 name : take ('container-app-backend-${resourcesName }-deployment' , 64 )
354353 #disable-next-line no-unnecessary-dependson
@@ -398,7 +397,7 @@ module containerAppBackend 'br/public:avm/res/app/container-app:0.17.0' = {
398397 }
399398 {
400399 name : 'AZURE_OPENAI_ENDPOINT'
401- //value: 'https://${aiFoundryName}.openai.azure.com/'
400+ //value: 'https://${aiFoundryName}.openai.azure.com/' // old AI Foundry HUB setup
402401 value : 'https://${aiServices .outputs .name }.openai.azure.com/'
403402 }
404403 {
@@ -435,12 +434,17 @@ module containerAppBackend 'br/public:avm/res/app/container-app:0.17.0' = {
435434 }
436435 {
437436 name : 'AI_PROJECT_ENDPOINT'
438- //value: aiFoundryProject.properties.endpoints['AI Foundry API']
437+ //value: aiFoundryProject.properties.endpoints['AI Foundry API'] // old AI Foundry HUB API endpoint
439438 value : aiServices .outputs .project .apiEndpoint // or equivalent
440439 }
440+ {
441+ name : 'AZURE_AI_AGENT_PROJECT_CONNECTION_STRING' // This was not really used in code.
442+ //value: azureAifoundry.outputs.projectConnectionString // OLD AI Foundry HUB connection string
443+ value : aiServices .outputs .project .apiEndpoint
444+ }
441445 {
442446 name : 'AZURE_AI_AGENT_PROJECT_NAME'
443- value : aiServices .outputs .project .name
447+ value : aiServices .outputs .project .name
444448 }
445449 {
446450 name : 'AZURE_AI_AGENT_RESOURCE_GROUP_NAME'
0 commit comments