Skip to content

Commit 61abad9

Browse files
committed
Add images container env var, remove image_agent
Add AZURE_STORAGE_IMAGES_CONTAINER environment variable to the MCP container app in both AVM and Bicep infrastructure definitions. Remove the unused src/backend/agents/image_agent.py.
1 parent 3fcd5b1 commit 61abad9

3 files changed

Lines changed: 8 additions & 250 deletions

File tree

infra/avm/main.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,10 @@ module containerAppMcp './modules/compute/container-app.bicep' = {
13411341
name: 'AZURE_STORAGE_BLOB_URL'
13421342
value: storage_account.outputs.blobEndpoint
13431343
}
1344+
{
1345+
name: 'AZURE_STORAGE_IMAGES_CONTAINER'
1346+
value: 'generated-images'
1347+
}
13441348
{
13451349
name: 'BACKEND_URL'
13461350
value: 'https://${containerAppName}.${containerAppEnvironment.outputs.defaultDomain}'

infra/bicep/main.bicep

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,10 @@ module mcp_container_app './modules/compute/container-app.bicep' = {
762762
name: 'AZURE_STORAGE_BLOB_URL'
763763
value: storage_account.outputs.blobEndpoint
764764
}
765+
{
766+
name: 'AZURE_STORAGE_IMAGES_CONTAINER'
767+
value: storageContainerNameGeneratedImages
768+
}
765769
{
766770
name: 'BACKEND_URL'
767771
value: 'https://${backendContainerAppName}.${container_app_environment.outputs.defaultDomain}'

src/backend/agents/image_agent.py

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)