Skip to content

runTools function isn't running tools in parallel #1131

Open
@danfhernandez

Description

@danfhernandez

Confirm this is a Node library issue and not an underlying OpenAI API issue

  • This is an issue with the Node library

Describe the bug

I'm attempting to have tools run in parallel using runTools and it doesn't work

To Reproduce

  1. Create a completion with multiple tools
  2. Call runTools with a prompt that will likely invoke multiple tool calls
  3. Wait for stream with it clearly being the case that the functions don't run in parallel

Code snippets

No response

OS

Mac

Node version

Latest

Library version

Latest

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