mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.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:
committed by
GitHub
Unverified
parent
db253ccda0
commit
753f336a3a
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user