Skip to content

Commit 1be19c4

Browse files
updated the env variables
1 parent cf4c255 commit 1be19c4

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

infra/main.bicep

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,10 +1277,6 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
12771277
name: 'AZURE_AI_SEARCH_CONNECTION_NAME'
12781278
value: aiSearchConnectionName
12791279
}
1280-
{
1281-
name: 'AZURE_AI_SEARCH_INDEX_NAME'
1282-
value: aiSearchIndexName
1283-
}
12841280
{
12851281
name: 'AZURE_AI_SEARCH_ENDPOINT'
12861282
value: searchService.outputs.endpoint
@@ -1333,10 +1329,6 @@ module containerApp 'br/public:avm/res/app/container-app:0.18.1' = {
13331329
name: 'AZURE_STORAGE_BLOB_URL'
13341330
value: avmStorageAccount.outputs.serviceEndpoints.blob
13351331
}
1336-
{
1337-
name: 'AZURE_STORAGE_CONTAINER_NAME'
1338-
value: storageContainerName
1339-
}
13401332
{
13411333
name: 'AZURE_AI_MODEL_DEPLOYMENT_NAME'
13421334
value: aiFoundryAiServicesModelDeployment.name
@@ -1785,10 +1777,8 @@ output webSiteDefaultHostname string = webSite.outputs.defaultHostname
17851777

17861778
output AZURE_STORAGE_BLOB_URL string = avmStorageAccount.outputs.serviceEndpoints.blob
17871779
output AZURE_STORAGE_ACCOUNT_NAME string = storageAccountName
1788-
output AZURE_STORAGE_CONTAINER_NAME string = storageContainerName
17891780
output AZURE_AI_SEARCH_ENDPOINT string = searchService.outputs.endpoint
17901781
output AZURE_AI_SEARCH_NAME string = searchService.outputs.name
1791-
output AZURE_AI_SEARCH_INDEX_NAME string = aiSearchIndexName
17921782

17931783
output COSMOSDB_ENDPOINT string = 'https://${cosmosDbResourceName}.documents.azure.com:443/'
17941784
output COSMOSDB_DATABASE string = cosmosDbDatabaseName

infra/scripts/Selecting-Team-Config-And-Data.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,5 +522,10 @@ if ($isTeamConfigFailed -or $isSampleDataFailed) {
522522
Write-Host "`nOne or more tasks failed. Please check the error messages above."
523523
exit 1
524524
} else {
525-
Write-Host "`nTeam configuration upload and sample data processing completed successfully."
525+
if($useCaseSelection -eq "1"-or $useCaseSelection -eq "2" -or $useCaseSelection -eq "all" -or $useCaseSelection -eq "5"){
526+
Write-Host "`nTeam configuration upload and sample data processing completed successfully."
527+
}else {
528+
Write-Host "`nTeam configuration upload completed successfully."
529+
}
530+
526531
}

src/backend/.env.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,5 @@ BACKEND_API_URL=http://localhost:8000
2929
FRONTEND_SITE_NAME=
3030
SUPPORTED_MODELS='["o3","o4-mini","gpt-4.1","gpt-4.1-mini"]'
3131
AZURE_AI_SEARCH_CONNECTION_NAME=
32-
AZURE_AI_SEARCH_INDEX_NAME=
3332
AZURE_AI_SEARCH_ENDPOINT=
3433
BING_CONNECTION_NAME=

src/backend/common/config/app_config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ def __init__(self):
8787
self.AZURE_AI_SEARCH_CONNECTION_NAME = self._get_optional(
8888
"AZURE_AI_SEARCH_CONNECTION_NAME"
8989
)
90-
self.AZURE_AI_SEARCH_INDEX_NAME = self._get_optional(
91-
"AZURE_AI_SEARCH_INDEX_NAME"
92-
)
9390
self.AZURE_AI_SEARCH_ENDPOINT = self._get_optional("AZURE_AI_SEARCH_ENDPOINT")
9491
self.AZURE_AI_SEARCH_API_KEY = self._get_optional("AZURE_AI_SEARCH_API_KEY")
9592
# self.BING_CONNECTION_NAME = self._get_optional("BING_CONNECTION_NAME")

src/backend/v4/magentic_agents/models/agent_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class SearchConfig:
6565
@classmethod
6666
def from_env(cls, index_name: str) -> "SearchConfig":
6767
connection_name = config.AZURE_AI_SEARCH_CONNECTION_NAME
68-
index_name = index_name or config.AZURE_AI_SEARCH_INDEX_NAME
68+
index_name = index_name
6969
endpoint = config.AZURE_AI_SEARCH_ENDPOINT
7070

7171
# Raise exception if any required environment variable is missing

0 commit comments

Comments
 (0)