File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ param resourceSize {
5555 maxReplicas : 1
5656 }
5757}
58- param capacity int = 10
58+ param capacity int = 40
5959
6060
6161var modelVersion = '2024-08-06'
@@ -71,7 +71,7 @@ var backendDockerImageURL = '${resgistryName}.azurecr.io/macaebackend:${appVersi
7171var frontendDockerImageURL = '${resgistryName }.azurecr.io/macaefrontend:${appVersion }'
7272
7373var uniqueNameFormat = '${prefix }-{0}-${uniqueString (resourceGroup ().id , prefix )}'
74- var aoaiApiVersion = '2024-08 -01-preview'
74+ var aoaiApiVersion = '2025-01 -01-preview'
7575
7676resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2023-09-01' = {
7777 name : format (uniqueNameFormat , 'logs' )
@@ -332,9 +332,13 @@ resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
332332 name : 'COSMOSDB_CONTAINER'
333333 value : cosmos ::autogenDb ::memoryContainer .name
334334 }
335- {
336- name : 'AZURE_OPENAI_ENDPOINT'
337- value : aiServices .properties .endpoint
335+ {
336+ name : 'AZURE_OPENAI_ENDPOINT'
337+ value : replace (aiServices .properties .endpoint , 'cognitiveservices.azure.com' , 'openai.azure.com' )
338+ }
339+ {
340+ name : 'AUTH_ENABLED'
341+ value : false
338342 }
339343 {
340344 name : 'AZURE_OPENAI_MODEL_NAME'
You can’t perform that action at this time.
0 commit comments