Update M.E.AI to 9.1.0-preview.1.25064.3

This commit is contained in:
Stephen Toub 2025-01-15 13:19:11 -05:00
parent ccb31f5cd8
commit 243ec302b1
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.1-preview.1.24570.5" />
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.1.0-preview.1.25064.3" />
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
</ItemGroup>

View file

@ -66,8 +66,7 @@ public sealed class MicrosoftExtensionsAIChatCompletionProvider : IChatCompletio
if (_services.GetService<IAgentService>() is { } agentService)
{
var functions = agent.Functions.Concat(agent.SecondaryFunctions ?? []);
foreach (var function in functions)
foreach (var function in agent.Functions)
{
if (agentService.RenderFunction(agent, function))
{