Skip to content

[BUG] ResponseServiceTier is missing the option to select Priority #798

@simon-k

Description

@simon-k

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;    // Works

OS

All

.NET version

9.0

Library version

2.5.0

Metadata

Metadata

Assignees

Labels

area: responsesThis item is related to Responsesfeature-requestCategory: 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions