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
+3 -3
View File
@@ -19,9 +19,9 @@
<PackageVersion Include="Aspire.Microsoft.Azure.Cosmos" Version="$(AspireAppHostSdkVersion)" />
<PackageVersion Include="CommunityToolkit.Aspire.OllamaSharp" Version="13.0.0" />
<!-- Azure.* -->
<PackageVersion Include="Azure.AI.AgentServer.Core" Version="1.0.0-beta.21" />
<PackageVersion Include="Azure.AI.AgentServer.Core" Version="1.0.0-beta.22" />
<PackageVersion Include="Azure.AI.AgentServer.Invocations" Version="1.0.0-beta.1" />
<PackageVersion Include="Azure.AI.AgentServer.Responses" Version="1.0.0-beta.1" />
<PackageVersion Include="Azure.AI.AgentServer.Responses" Version="1.0.0-beta.3" />
<PackageVersion Include="Azure.AI.Projects" Version="2.0.0" />
<PackageVersion Include="Azure.AI.Agents.Persistent" Version="1.2.0-beta.10" />
<PackageVersion Include="Azure.AI.OpenAI" Version="2.9.0-beta.1" />
@@ -193,4 +193,4 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
</Project>
+1 -1
View File
@@ -4,7 +4,7 @@
<VersionPrefix>0.0.1</VersionPrefix>
<RCNumber>1</RCNumber>
<!-- Preview-only branch: all publishable packages ship as 0.0.1-preview.260417.2 regardless of IsReleaseCandidate/VersionSuffix. -->
<PackageVersion>$(VersionPrefix)-preview.260417.2</PackageVersion>
<PackageVersion>$(VersionPrefix)-preview.260420.1</PackageVersion>
<GitTag>0.0.1</GitTag>
<Configurations>Debug;Release;Publish</Configurations>
@@ -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();
}