-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to use MGC #305
base: main
Are you sure you want to change the base?
Update to use MGC #305
Conversation
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
.dotnet/OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin/OpenAILibraryVisitor.cs
Outdated
Show resolved
Hide resolved
@@ -2869,7 +3603,7 @@ public class RealtimeConversationClient { | |||
protected internal RealtimeConversationClient(ClientPipeline pipeline, OpenAIClientOptions options); | |||
public RealtimeConversationClient(string model, ApiKeyCredential credential, OpenAIClientOptions options); | |||
public RealtimeConversationClient(string model, ApiKeyCredential credential); | |||
public virtual ClientPipeline Pipeline { get; } | |||
public ClientPipeline Pipeline { get; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this already shipped? I think we don't want the virtual
keyword for Pipeline properties.
/// <summary> | ||
/// The HTTP pipeline for sending and receiving REST requests and responses. | ||
/// </summary> | ||
public ClientPipeline Pipeline => _pipeline; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These customizations are no longer needed as MGC generates the property as non-virtual.
Switches over the generator from autorest.csharp to the new Microsoft.Generator.CSharp.