Open efisiobova opened 2 weeks ago
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
I have the same issue. Is there a solution?
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