Skip to content

Commit 9e6c38d

Browse files
committed
update readme
1 parent 933485e commit 9e6c38d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ string deploymentName = "YOUR_MODEL_NAME";
6363
var azureClient = new AzureOpenAIClient(
6464
new Uri(azureOpenAIEndpoint),
6565
new ApiKeyCredential(azureOpenAIKey));
66-
builder.Services.AddChatClient(config =>
67-
config.Use(azureClient.AsChatClient(deploymentName))
68-
);
66+
builder.Services.AddChatClient(azureClient.AsChatClient(deploymentName));
6967
builder.Services.AddDevExpressAI((config) => {
7068
config.RegisterOpenAIAssistants(azureClient, deploymentName);
7169
});

0 commit comments

Comments
 (0)