-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
area: responsesThis item is related to ResponsesThis item is related to Responsesfeature-requestCategory: A new feature or enhancement to an existing feature is being requested.Category: A new feature or enhancement to an existing feature is being requested.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.
Description
Describe the bug
Same as openai/openai-node#1556
ResponseServiceTier only supports "auto", "default", "flex"and "scale". It should also support "priority" as per https://platform.openai.com/docs/api-reference/chat/create#chat-create-service_tier
Steps to reproduce
Install the OpenAi nuget package, version 2.5.0 and try to
Code snippets
_options = new();
_options.ServiceTier = ResponseServiceTier.Priority; // Compiler error
_options.ServiceTier = ResponseServiceTier.Scale; // WorksOS
All
.NET version
9.0
Library version
2.5.0
Peter-Juhasz
Metadata
Metadata
Assignees
Labels
area: responsesThis item is related to ResponsesThis item is related to Responsesfeature-requestCategory: A new feature or enhancement to an existing feature is being requested.Category: A new feature or enhancement to an existing feature is being requested.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.