diff --git a/code/backend/requirements.txt b/code/backend/requirements.txt index f736475..e6e6ab2 100644 --- a/code/backend/requirements.txt +++ b/code/backend/requirements.txt @@ -5,5 +5,5 @@ botbuilder-integration-aiohttp~=4.16.1 openai~=1.42.0 opentelemetry-instrumentation-aiohttp-client~=0.47b0 opentelemetry-instrumentation-aiohttp-server~=0.47b0 -pydantic~=2.7.0 -pydantic-settings~=2.2.1 +pydantic~=2.8.2 +pydantic-settings~=2.4.0 diff --git a/code/infra/aoai.tf b/code/infra/aoai.tf index 29cb077..ab12d62 100644 --- a/code/infra/aoai.tf +++ b/code/infra/aoai.tf @@ -32,8 +32,9 @@ resource "azurerm_cognitive_deployment" "cognitive_deployment_gpt_4o" { name = "gpt-4o" version = "2024-05-13" } - scale { + sku { capacity = 100 - type = "Standard" + name = "Standard" } + version_upgrade_option = "OnceNewDefaultVersionAvailable" } diff --git a/code/infra/providers.tf b/code/infra/providers.tf index c0ace7f..3e425b2 100644 --- a/code/infra/providers.tf +++ b/code/infra/providers.tf @@ -1,11 +1,10 @@ provider "azurerm" { disable_correlation_request_id = false environment = "public" - skip_provider_registration = false storage_use_azuread = true # use_oidc = true - resource_provider_registrations = "core" + resource_provider_registrations = "none" resource_providers_to_register = [ "Microsoft.Authorization", "Microsoft.BotService",