Skip to content

fix: restore gpt-4.5 in ChatModel type definitions - #29

Open
LuminaX-alt wants to merge 1 commit into
mainfrom
LuminaX-alt-patch-29
Open

LuminaX-alt wants to merge 1 commit into
mainfrom
LuminaX-alt-patch-29

Conversation

@LuminaX-alt

Copy link
Copy Markdown
Owner

Description

Fixes issue openai#2256 by restoring gpt-4.5 as a valid ChatModel. This was previously removed, causing type errors in clients explicitly referencing this model.

Why?

Many projects still use gpt-4.5. Removing it from the ChatModel type caused type-checking and runtime issues.

Changes

  • Restored gpt-4.5 in Python ChatModel enum.
  • Restored gpt-4.5 in TypeScript ChatModel union type.

Closes openai#2256

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Additional context & links

### Description
Fixes issue openai#2256 by restoring `gpt-4.5` as a valid `ChatModel`. This was previously removed, causing type errors in clients explicitly referencing this model.

### Why?
Many projects still use `gpt-4.5`. Removing it from the ChatModel type caused type-checking and runtime issues.

### Changes
- Restored `gpt-4.5` in Python `ChatModel` enum.
- Restored `gpt-4.5` in TypeScript `ChatModel` union type.

Closes openai#2256
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.

GTP-4.5 has been deleted from the ChatModel

1 participant