Skip to content

add parallel_tool_calls to Runs.create_and_poll #1580

@gokhanmeteerturk

Description

@gokhanmeteerturk

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

Currently client.beta.threads.runs.create_and_poll doesn't accept parallel_tool_calls as an argument, and throws:
TypeError: Runs.create_and_poll() got an unexpected keyword argument 'parallel_tool_calls'

It can be included and passed to self.create here:
https://github.com/openai/openai-python/blob/195c05a64d39c87b2dfdf1eca2d339597f1fce03/src/openai/resources/beta/threads/runs/runs.py#L866C12-L889C10

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions