We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I see you've changed types, so that attachment : { file_id: string tools: ["file_search" | "code_interpreter"] }
but API errors with expected attachment.tools[0] be object not string
plus: i could not get files work with assistant v2, via both attachment and assistant/thread vectorStore attachments
No response
Windows 11 + WSL 1.0
20.11.0
4.38.1
The text was updated successfully, but these errors were encountered:
+1, it should be tools?: { type: "file_search" | "code_interpreter" }[]
tools?: { type: "file_search" | "code_interpreter" }[]
Sorry, something went wrong.
+1
+1 it should be tools?: Array<{ type: "file_search" | "code_interpreter" }>
tools?: Array<{ type: "file_search" | "code_interpreter" }>
typing fix introduced in new version
nknj
No branches or pull requests
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
I see you've changed types, so that
attachment : {
file_id: string
tools: ["file_search" | "code_interpreter"]
}
but API errors with expected attachment.tools[0] be object not string
plus: i could not get files work with assistant v2, via both attachment and assistant/thread vectorStore attachments
To Reproduce
Code snippets
No response
OS
Windows 11 + WSL 1.0
Node version
20.11.0
Library version
4.38.1
The text was updated successfully, but these errors were encountered: