Bump preview version to 260420.1 and fix AgentServer package deps (#5367)

- Bump PackageVersion to 0.0.1-preview.260420.1
- Bump Azure.AI.AgentServer.Core beta.21 -> beta.22 (required by
  Azure.AI.AgentServer.Responses beta.3)
- Replace AgentHostTelemetry.ResponsesSourceName with local constant
  (type made internal in AgentServer.Core beta.22)

Co-authored-by: alliscode <bentho@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Ben Thomas
2026-04-20 10:25:27 -07:00
committed by GitHub
Unverified
parent ecc34ff902
commit 3c48ca17c8
3 changed files with 12 additions and 5 deletions
@@ -117,6 +117,13 @@ public static class FoundryHostingExtensions
return endpoints;
}
/// <summary>
/// The ActivitySource name for the Responses hosting pipeline.
/// Matches the value previously exposed by <c>AgentHostTelemetry.ResponsesSourceName</c>
/// in <c>Azure.AI.AgentServer.Core</c>.
/// </summary>
private const string ResponsesSourceName = "Azure.AI.AgentServer.Responses";
/// <summary>
/// Wraps <paramref name="agent"/> with <see cref="OpenTelemetryAgent"/> 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();
}