Skip to content

Random breaking change inserted by code bot #2553

@jezell

Description

@jezell

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

ChatCompletionMessageToolCall was changed to ChatCompletionMessageToolCallUnion?

bff85cd

Was breaking everyone in a patch release intentional?

To Reproduce

use release 1.99.7 and your code will break if you have:

from openai.types.chat import ChatCompletion, ChatCompletionMessageToolCall

Code snippets

OS

all

Python version

all

Library version

1.99.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions