openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

Assistant API - toolCall event not fired for file_search

Open magic-maker opened this issue 2 years ago • 2 comments

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

  • [X] This is an issue with the Node library

Describe the bug

The helper events "toolCall" (created, delta, done) with a message attachments with file and tool type "file_search" are never fired. It works well for "code_interpreter" type.

To Reproduce

Just attach a toolCall event to a run with a message attachment type "file_search" and a file_id from a vector store.

Code snippets

No response

OS

windows

Node version

Node v21.5.0

Library version

openai v4.47.1

magic-maker avatar May 15 '24 14:05 magic-maker

Thanks for the report, we'll look into this. If you could share a script that reproduces the problem that may be helpful.

rattrayalex avatar May 25 '24 22:05 rattrayalex

Closing as a duplicate of https://github.com/openai/openai-node/issues/771

rattrayalex avatar Jul 08 '24 18:07 rattrayalex