Skip to content

Commit

Permalink
Merge branch 'main' into cj-azureopenai-resource-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
codingbandit committed Aug 10, 2024
1 parent 9bde5fd commit 869d46f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/standard-hub/infra/core/networking/vpnGateway.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ param location string
param project string
param subnetId string
param tags object
param vpnClientAddressPool string = '192.168.101.0/28'
param vpnClientAddressPool string

@allowed([
'VpnGw1'
Expand Down
2 changes: 2 additions & 0 deletions deploy/standard-hub/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ param environmentName string
param location string
param project string
param timestamp string = utcNow()
param vpnClientAddressPool string

// Locals
var abbrs = loadJsonContent('./abbreviations.json')
Expand Down Expand Up @@ -130,6 +131,7 @@ module vpn './core/networking/vpnGateway.bicep' = {
project: project
subnetId: '${vnet.outputs.vnetId}/subnets/GatewaySubnet'
tags: tags
vpnClientAddressPool: vpnClientAddressPool
}
scope: rg
}
Expand Down
6 changes: 6 additions & 0 deletions deploy/standard-hub/infra/main.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"cidrVnet": {
"value": "${FLLM_HUB_CIDR_VNET=192.168.100.0/24}"
},
"environmentName": {
"value": "${AZURE_ENV_NAME}"
},
"location": {
"value": "${AZURE_LOCATION}"
},
"vpnClientAddressPool": {
"value": "${VPN_CLIENT_ADDRESS_POOL=192.168.101.0/24}"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ await EnsureAgentCapabilities(
explodedObjects[CompletionRequestObjectsKeys.AllAgents] = allAgentsDescriptions;

#region Knowledge management processing
if (agentBase.AgentType == typeof(KnowledgeManagementAgent) || agentBase.AgentType == typeof(AudioClassificationAgent))
{
KnowledgeManagementAgent kmAgent = (KnowledgeManagementAgent)agentBase;

if (agentBase.AgentType == typeof(KnowledgeManagementAgent) || agentBase.AgentType == typeof(AudioClassificationAgent))
{
KnowledgeManagementAgent kmAgent = (KnowledgeManagementAgent)agentBase;
Expand Down

0 comments on commit 869d46f

Please sign in to comment.