File tree Expand file tree Collapse file tree 4 files changed +0
-5
lines changed
Expand file tree Collapse file tree 4 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,6 @@ module backend_docker 'deploy_backend_docker.bicep' = {
205205 AZURE_OPEN_AI_ENDPOINT : aifoundry .outputs .aiServicesTarget
206206 AZURE_OPENAI_API_VERSION : azureOpenAIApiVersion
207207 AZURE_OPENAI_RESOURCE : aifoundry .outputs .aiServicesName
208- AZURE_OPENAI_API_KEY : '@Microsoft.KeyVault(SecretUri=${kvault .outputs .keyvaultUri }secrets/AZURE-OPENAI-KEY/)'
209208 AZURE_AI_AGENT_ENDPOINT : aifoundry .outputs .projectEndpoint
210209 AZURE_AI_AGENT_MODEL_DEPLOYMENT_NAME : gptModelName
211210 USE_CHAT_HISTORY_ENABLED : 'True'
@@ -265,7 +264,6 @@ output AZURE_COSMOSDB_ENABLE_FEEDBACK string = 'True'
265264output AZURE_OPEN_AI_DEPLOYMENT_MODEL string = gptModelName
266265output AZURE_OPEN_AI_DEPLOYMENT_MODEL_CAPACITY int = gptDeploymentCapacity
267266output AZURE_OPEN_AI_ENDPOINT string = aifoundry .outputs .aiServicesTarget
268- output AZURE_OPENAI_API_KEY string = ''
269267output AZURE_OPEN_AI_MODEL_DEPLOYMENT_TYPE string = deploymentType
270268output AZURE_OPENAI_EMBEDDING_MODEL string = embeddingModel
271269output AZURE_OPENAI_EMBEDDING_MODEL_CAPACITY int = embeddingDeploymentCapacity
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ AZURE_COSMOSDB_DATABASE="db_conversation_history"
99AZURE_COSMOSDB_ENABLE_FEEDBACK = " True"
1010AZURE_OPEN_AI_DEPLOYMENT_MODEL = " gpt-4o-mini"
1111AZURE_OPEN_AI_ENDPOINT =
12- AZURE_OPENAI_API_KEY =
1312AZURE_OPENAI_API_VERSION =
1413AZURE_OPENAI_RESOURCE =
1514OPENAI_API_VERSION =
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ def __init__(self):
1414 config = Config ()
1515 self .azure_openai_deployment_model = config .azure_openai_deployment_model
1616 self .azure_openai_endpoint = config .azure_openai_endpoint
17- self .azure_openai_api_key = config .azure_openai_api_key
1817 self .azure_openai_api_version = config .azure_openai_api_version
1918 self .azure_ai_search_endpoint = config .azure_ai_search_endpoint
2019 self .azure_ai_search_api_key = config .azure_ai_search_api_key
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ class ChatService:
7272 def __init__ (self , request : Request ):
7373 config = Config ()
7474 self .azure_openai_endpoint = config .azure_openai_endpoint
75- self .azure_openai_api_key = config .azure_openai_api_key
7675 self .azure_openai_api_version = config .azure_openai_api_version
7776 self .azure_openai_deployment_name = config .azure_openai_deployment_model
7877 self .agent = request .app .state .agent
You can’t perform that action at this time.
0 commit comments