Skip to content

[Protocol Methods] Parameter removal: Ability to omit or customize certain parameters in generated methods. #523

Open
@ShivangiReja

Description

@ShivangiReja

Action Item:
The custom protocol methods were initially needed to handle the Accept header parameter, but this has already been addressed in the latest generator.

Below are the methods and the reasons why we currently have custom implementations for these protocol methods:

OpenAIResponseClient.Protocol.cs

  • CreateResponse

    • The string accept parameter was removed.
  • GetResponse

    • The IEnumerable<InternalIncludable> includables parameter was removed.

AudioClient.Protocol.cs

  • TranscribeAudio

    • The string accept parameter was removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions