openai-node
openai-node copied to clipboard
Assistant API - toolCall event not fired for file_search
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
Thanks for the report, we'll look into this. If you could share a script that reproduces the problem that may be helpful.
Closing as a duplicate of https://github.com/openai/openai-node/issues/771