From 3e8ae4e17ed48777ab79452348b656457007853b Mon Sep 17 00:00:00 2001 From: Tirth Doshi <58528364+tirthdoshi009@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:47:41 -0500 Subject: [PATCH 1/3] Use the correct email response object --- python/agent-framework/sample-agent/host_agent_server.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/agent-framework/sample-agent/host_agent_server.py b/python/agent-framework/sample-agent/host_agent_server.py index eef43751..0204cf03 100644 --- a/python/agent-framework/sample-agent/host_agent_server.py +++ b/python/agent-framework/sample-agent/host_agent_server.py @@ -12,8 +12,7 @@ from aiohttp.web_middlewares import middleware as web_middleware from dotenv import load_dotenv from agent_interface import AgentInterface, check_agent_inheritance -from microsoft_agents.activity import load_configuration_from_env, Activity -from microsoft_agents.activity_types import ActivityTypes +from microsoft_agents.activity import load_configuration_from_env, Activity, ActivityTypes from microsoft_agents.authentication.msal import MsalConnectionManager from microsoft_agents.hosting.aiohttp import ( CloudAdapter, @@ -35,8 +34,8 @@ NotificationTypes, AgentNotificationActivity, ChannelId, - EmailResponse, ) +from microsoft_agents_a365.notifications import EmailResponse from microsoft_agents_a365.observability.core.config import configure from microsoft_agents_a365.observability.core.middleware.baggage_builder import ( BaggageBuilder, From a9525820abd4a5074c1bab8cb57f58cefe67fa89 Mon Sep 17 00:00:00 2001 From: Tirth Doshi <58528364+tirthdoshi009@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:50:32 -0500 Subject: [PATCH 2/3] Emailresponse object name changed --- python/agent-framework/sample-agent/host_agent_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/agent-framework/sample-agent/host_agent_server.py b/python/agent-framework/sample-agent/host_agent_server.py index 0204cf03..5efe11f8 100644 --- a/python/agent-framework/sample-agent/host_agent_server.py +++ b/python/agent-framework/sample-agent/host_agent_server.py @@ -36,6 +36,7 @@ ChannelId, ) from microsoft_agents_a365.notifications import EmailResponse + from microsoft_agents_a365.observability.core.config import configure from microsoft_agents_a365.observability.core.middleware.baggage_builder import ( BaggageBuilder, From 939fd0f6b3a2c7913370e3465e1673be60fd504a Mon Sep 17 00:00:00 2001 From: Tirth Doshi <58528364+tirthdoshi009@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:59:52 -0500 Subject: [PATCH 3/3] Remove observability module as its never used --- python/agent-framework/sample-agent/agent.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/agent-framework/sample-agent/agent.py b/python/agent-framework/sample-agent/agent.py index 4cf64639..87715206 100644 --- a/python/agent-framework/sample-agent/agent.py +++ b/python/agent-framework/sample-agent/agent.py @@ -38,7 +38,6 @@ # AgentFramework SDK from agent_framework import ChatAgent from agent_framework.azure import AzureOpenAIChatClient -from agent_framework.observability import setup_observability # Agent Interface from agent_interface import AgentInterface