-
Notifications
You must be signed in to change notification settings - Fork 746
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
openai.beta.threads.create has the wrong type for TS #448
Labels
bug
Something isn't working
Comments
Thanks for reporting, we hope to fix this soon. |
rattrayalex
added a commit
to rattrayalex/openai-openapi
that referenced
this issue
Nov 7, 2023
The docs imply this is optional: https://platform.openai.com/docs/assistants/overview/step-2-create-a-thread Addresses openai/openai-node#448
Is there a quick workaround for this issue? |
The workaround would be to pass an empty object, perhaps with an |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
The auto-generated type for
threads.create
is wrong as it's possible to have a.create()
with no args based off the docsTo Reproduce
In a typescript repo, invoke
openai.beta.threads.runs.create()
with no args and observe a type errorCode snippets
No response
OS
N/A
Node version
Any
Library version
4.16.1
The text was updated successfully, but these errors were encountered: