diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props
index ce1bbffa0a..1f7a9a6f3b 100644
--- a/dotnet/Directory.Packages.props
+++ b/dotnet/Directory.Packages.props
@@ -19,9 +19,9 @@
-
+
-
+
@@ -193,4 +193,4 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
\ No newline at end of file
diff --git a/dotnet/nuget/nuget-package.props b/dotnet/nuget/nuget-package.props
index 55e676470c..5169aae04f 100644
--- a/dotnet/nuget/nuget-package.props
+++ b/dotnet/nuget/nuget-package.props
@@ -4,7 +4,7 @@
0.0.1
1
- $(VersionPrefix)-preview.260417.2
+ $(VersionPrefix)-preview.260420.1
0.0.1
Debug;Release;Publish
diff --git a/dotnet/src/Microsoft.Agents.AI.Foundry/Hosting/ServiceCollectionExtensions.cs b/dotnet/src/Microsoft.Agents.AI.Foundry/Hosting/ServiceCollectionExtensions.cs
index 73d032f13b..0cfbf7a40e 100644
--- a/dotnet/src/Microsoft.Agents.AI.Foundry/Hosting/ServiceCollectionExtensions.cs
+++ b/dotnet/src/Microsoft.Agents.AI.Foundry/Hosting/ServiceCollectionExtensions.cs
@@ -117,6 +117,13 @@ public static class FoundryHostingExtensions
return endpoints;
}
+ ///
+ /// The ActivitySource name for the Responses hosting pipeline.
+ /// Matches the value previously exposed by AgentHostTelemetry.ResponsesSourceName
+ /// in Azure.AI.AgentServer.Core.
+ ///
+ private const string ResponsesSourceName = "Azure.AI.AgentServer.Responses";
+
///
/// Wraps with instrumentation
/// so that agent invocations emit spans into the pipeline registered by
@@ -131,7 +138,7 @@ public static class FoundryHostingExtensions
}
return agent.AsBuilder()
- .UseOpenTelemetry(sourceName: AgentHostTelemetry.ResponsesSourceName)
+ .UseOpenTelemetry(sourceName: ResponsesSourceName)
.Build();
}