Skip to content

Commit 48a3a68

Browse files
fix: update logging level for Azure HTTP logging and adjust package versions in requirements
1 parent 9e716f3 commit 48a3a68

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

content-gen/src/backend/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
level=logging.INFO,
3535
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
3636
)
37+
logging.getLogger("azure.core.pipeline.policies.http_logging_policy").setLevel(logging.WARNING)
3738
logger = logging.getLogger(__name__)
3839

3940
# Create Quart app

content-gen/src/backend/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ quart-cors>=0.7.0
66
hypercorn>=0.17.0
77

88
# Microsoft Agent Framework
9-
agent-framework==1.0.0b260114 # Pinning this stable version
9+
agent-framework-azure-ai==1.0.0b260114
10+
agent-framework-core==1.0.0b260114
1011

1112
# Azure SDKs
1213
azure-identity>=1.17.0
1314
azure-cosmos>=4.7.0
1415
azure-storage-blob>=12.22.0
1516
azure-ai-contentsafety>=1.0.0
16-
azure-ai-projects>=1.0.0b5 # Azure AI Foundry SDK (optional, for USE_FOUNDRY=true)
17+
azure-ai-projects==2.0.0b3 # Azure AI Foundry SDK (optional, for USE_FOUNDRY=true)
1718

1819
# OpenAI
1920
openai>=1.45.0

content-gen/src/backend/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ class _AIFoundrySettings(BaseSettings):
164164
env_file=DOTENV_PATH,
165165
extra="ignore",
166166
env_ignore_empty=True,
167+
protected_namespaces=(),
167168
)
168169

169170
use_foundry: bool = Field(default=False, alias="USE_FOUNDRY")

0 commit comments

Comments
 (0)