Cleanup unecessary usages of AsIChatClient (#4561)

This commit is contained in:
westey
2026-03-10 15:40:44 +00:00
committed by GitHub
parent fbcf1444ee
commit c15f075412
15 changed files with 17 additions and 27 deletions
@@ -60,7 +60,7 @@ ChatClient openAIChatClient = new AzureOpenAIClient(
new DefaultAzureCredential())
.GetChatClient(deploymentName);
ChatClientAgent baseAgent = openAIChatClient.AsIChatClient().AsAIAgent(
ChatClientAgent baseAgent = openAIChatClient.AsAIAgent(
name: "AGUIAssistant",
instructions: "You are a helpful assistant in charge of approving expenses",
tools: tools);