Skip to content

error: Module "openai.types.beta.threads.run" has no attribute "ToolAssistantToolsFunction" #1242

@Wendong-Fan

Description

@Wendong-Fan

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

Hi there, i was using old version 1.2.3, seems in the new version 1.14.0 ToolAssistantToolsFunction has been removed, but I need this function to validate openai tool schema. Thanks in advance!

To Reproduce

from openai.types.beta.threads.run import ToolAssistantToolsFunction

Code snippets

No response

OS

macOS

Python version

Python v 3.10

Library version

openai v1.14.0

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