.NET: Update Foundry Agents to latest 2.0.0 alpha.20251107.3 (#2050)

* Update extensions for new CreateVersionOptions structure

* Update unit tests

* Addresss capitalized
This commit is contained in:
Roger Barreto
2025-11-10 15:40:37 +00:00
committed by GitHub
Unverified
parent fb1f4e2799
commit 68f79d8bea
17 changed files with 353 additions and 366 deletions
@@ -45,14 +45,14 @@ internal sealed class Program
private static async Task CreateAgentsAsync(Uri foundryEndpoint, IConfiguration configuration)
{
AgentsClient agentsClient = new(foundryEndpoint, new AzureCliCredential());
AgentClient agentClient = new(foundryEndpoint, new AzureCliCredential());
await agentsClient.CreateAgentAsync(
await agentClient.CreateAgentAsync(
agentName: "StudentAgent",
agentDefinition: DefineStudentAgent(configuration),
agentDescription: "Student agent for MathChat workflow");
await agentsClient.CreateAgentAsync(
await agentClient.CreateAgentAsync(
agentName: "TeacherAgent",
agentDefinition: DefineTeacherAgent(configuration),
agentDescription: "Teacher agent for MathChat workflow");