Skip to content

Conversation

@joseharriaga
Copy link
Collaborator

Also suppress the explicit conversion from ClientResult to StreamingAudioTranscriptionUpdate because streaming classes don't need it.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes an explicit conversion operator from StreamingAudioTranscriptionUpdate and adds the [Experimental("OPENAI001")] attribute to a factory method in the Chat model factory. The changes suppress code generation of the explicit operator using CodeGenSuppress and remove the now-unnecessary using System.ClientModel; import.

  • Removes explicit operator StreamingAudioTranscriptionUpdate(ClientResult) from generated code
  • Adds CodeGenSuppress attribute to prevent code generation of the removed operator
  • Adds [Experimental("OPENAI001")] attribute to ChatCompletionMessageListDatum factory method
  • Updates API surface documentation to reflect these changes

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Generated/Models/Audio/StreamingAudioTranscriptionUpdate.Serialization.cs Removes the explicit operator and unused ClientModel import
src/Custom/Audio/Streaming/StreamingAudioTranscriptionUpdate.cs Adds CodeGenSuppress attribute to prevent generation of the explicit operator
src/Custom/Chat/OpenAIChatModelFactory.cs Adds Experimental attribute to ChatCompletionMessageListDatum factory method
api/OpenAI.netstandard2.0.cs Updates API surface to remove explicit operator
api/OpenAI.net8.0.cs Updates API surface to remove explicit operator and add Experimental attribute

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joseharriaga joseharriaga merged commit ce77690 into main Oct 30, 2025
8 checks passed
@joseharriaga joseharriaga deleted the joseharriaga/AddExperimentalToChatMessageDatum branch October 30, 2025 18:53
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