Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assistant API - toolCall event not fired for file_search #850

Open
1 task done
magic-maker opened this issue May 15, 2024 · 2 comments
Open
1 task done

Assistant API - toolCall event not fired for file_search #850

magic-maker opened this issue May 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@magic-maker
Copy link

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

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 magic-maker added the bug Something isn't working label May 15, 2024
@rattrayalex
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@rattrayalex @magic-maker and others