.NET: Update MEAI 9.8.0 and accepted proposed abstractions (#427)

* Update MEAI 9.8.0 and accepted proposed abstractions

* Address manual change in samples

* Address warnings

* Revert "Address warnings"

This reverts commit 52a7d60129.
This commit is contained in:
Roger Barreto
2025-08-15 18:34:56 +01:00
committed by GitHub
Unverified
parent db253ccda0
commit 753f336a3a
12 changed files with 273 additions and 249 deletions
@@ -295,7 +295,7 @@ namespace Azure.AI.Agents.Persistent
BinaryData.FromBytes(JsonSerializer.SerializeToUtf8Bytes(aiFunction.JsonSchema, AgentsChatClientJsonContext.Default.JsonElement))));
break;
case NewHostedCodeInterpreterTool codeTool:
case HostedCodeInterpreterTool codeTool:
toolDefinitions.Add(new CodeInterpreterToolDefinition());
if (codeTool.Inputs is { Count: > 0 })
@@ -313,7 +313,7 @@ namespace Azure.AI.Agents.Persistent
}
break;
case NewHostedFileSearchTool fileSearchTool:
case HostedFileSearchTool fileSearchTool:
toolDefinitions.Add(new FileSearchToolDefinition());
if (fileSearchTool.Inputs is { Count: > 0 })