Skip to content

Commit 6ef03de

Browse files
committed
Fix
1 parent 8f24907 commit 6ef03de

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

examples/OpenAI.Examples.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net9.0</TargetFramework>
44

examples/VectorStore/Example01_VectorStoreCreationAsync.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System;
66
using System.ClientModel;
77
using System.Collections.Generic;
8+
using System.Threading;
89
using System.Threading.Tasks;
910

1011
namespace OpenAI.Examples;

specification/base/typespec/common/models.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,4 +476,4 @@ enum OrderEnum {
476476
asc,
477477
#suppress "@azure-tools/typespec-azure-core/documentation-required" "Auto-suppressed warnings non-applicable rules during import."
478478
desc,
479-
}
479+
}

src/Custom/Videos/VideoClient.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ namespace OpenAI.Videos;
88
// CUSTOM:
99
// - Renamed.
1010
// - Suppressed constructor that takes endpoint parameter; endpoint is now a property in the options class.
11-
// - Suppressed methods that only take the options parameter.
1211
/// <summary> The service client for OpenAI video operations. </summary>
1312
[CodeGenType("Videos")]
1413
[CodeGenSuppress("VideoClient", typeof(ClientPipeline), typeof(Uri))]
@@ -44,15 +43,15 @@ public VideoClient(ApiKeyCredential credential, OpenAIClientOptions options) : t
4443
}
4544

4645
// CUSTOM: Added as a convenience.
47-
/// <summary> Initializes a new instance of <see cref="GraderClient"/>. </summary>
46+
/// <summary> Initializes a new instance of <see cref="VideoClient"/>. </summary>
4847
/// <param name="authenticationPolicy"> The authentication policy used to authenticate with the service. </param>
4948
/// <exception cref="ArgumentNullException"> <paramref name="authenticationPolicy"/> is null. </exception>
5049
public VideoClient(AuthenticationPolicy authenticationPolicy) : this(authenticationPolicy, new OpenAIClientOptions())
5150
{
5251
}
5352

5453
// CUSTOM: Added as a convenience.
55-
/// <summary> Initializes a new instance of <see cref="GraderClient"/>. </summary>
54+
/// <summary> Initializes a new instance of <see cref="VideoClient"/>. </summary>
5655
/// <param name="authenticationPolicy"> The authentication policy used to authenticate with the service. </param>
5756
/// <param name="options"> The options to configure the client. </param>
5857
/// <exception cref="ArgumentNullException"> <paramref name="authenticationPolicy"/> is null. </exception>
@@ -69,7 +68,7 @@ public VideoClient(AuthenticationPolicy authenticationPolicy, OpenAIClientOption
6968
// - Used a custom pipeline.
7069
// - Demoted the endpoint parameter to be a property in the options class.
7170
// - Made protected.
72-
/// <summary> Initializes a new instance of <see cref="GraderClient"/>. </summary>
71+
/// <summary> Initializes a new instance of <see cref="VideoClient"/>. </summary>
7372
/// <param name="pipeline"> The HTTP pipeline to send and receive REST requests and responses. </param>
7473
/// <param name="options"> The options to configure the client. </param>
7574
/// <exception cref="ArgumentNullException"> <paramref name="pipeline"/> is null. </exception>

0 commit comments

Comments
 (0)