Skip to content
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

Open
wants to merge 59 commits into
base: main
Choose a base branch
from
Open

Update to use MGC #305

wants to merge 59 commits into from

Conversation

JoshLove-msft
Copy link

@JoshLove-msft JoshLove-msft commented Oct 9, 2024

Switches over the generator from autorest.csharp to the new Microsoft.Generator.CSharp.

@@ -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; }
Copy link
Author

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.

@JoshLove-msft JoshLove-msft marked this pull request as ready for review November 7, 2024 20:06
/// <summary>
/// The HTTP pipeline for sending and receiving REST requests and responses.
/// </summary>
public ClientPipeline Pipeline => _pipeline;
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants