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
Creating a message as specified in the example on “Step 3” here: https://platform.openai.com/docs/assistants/overview
I got this error: BadRequestError: 400 Unknown parameter: ‘role’.
const message = await openai.beta.threads.messages.create( threadId, { role: "user", content: "Some question here...", } );
No response
Windows
Node v18.18.0
openai 4.51.0
The text was updated successfully, but these errors were encountered:
I have the same issue. Is there a solution?
Sorry, something went wrong.
If for some reason your threadId is empty, you will get this error
nknj
No branches or pull requests
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Creating a message as specified in the example on “Step 3” here: https://platform.openai.com/docs/assistants/overview
I got this error:
BadRequestError: 400 Unknown parameter: ‘role’.
To Reproduce
Code snippets
No response
OS
Windows
Node version
Node v18.18.0
Library version
openai 4.51.0
The text was updated successfully, but these errors were encountered: